Core Java Notes | B.Sc. (Information Technology) Semester 4 | Mumbai University | munotes
A munotes Edition munotes.in
Core Java
B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 4
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)
For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in Second Year
Contents
Module I Java Basics, Decision Making and Loops, Classes and Objects, Inheritance and Polymorphism
- Java: Its History and Its Evolution 1
- The Features of Java 9
- Platform Independence: Bytecode and the JVM 17
- The JDK, the JRE and Your First Program 25
- Java Is Object-Oriented 33
- Data Types: The Eight Primitive Types 41
- Variables, and Dynamic Initialization 52
- Arithmetic Operators, and Increment and Decrement 62
- Relational, Logical and Bitwise Operators 71
- Assignment Operators and the Conditional Operator 82
- Operator Precedence and Associativity 92
- Constants and Literals 102
- Type Casting: Widening and Narrowing 111
- Decision Making: The if and if-else Statements 120
- The switch Statement 130
- Loops, and the for Loop 140
- The while Loop 150
- The do-while Loop 158
- The break and continue Statements 165
- Arrays: One-Dimensional Arrays 174
- Two-Dimensional Arrays, and Multiplying Two Matrices 184
- The Arrays Class 196
- The String Class 207
- String Methods 216
- Comparing and Sorting Strings 226
- The StringBuffer Class 235
- The StringBuilder Class, and Checking a Palindrome 243
- Object-Oriented Programming Concepts 252
- Defining a Class 261
- Creating Objects 270
- Instance Variables 279
- Methods 287
- Constructors 296
- Constructor Overloading 305
- The this Keyword 314
- The super Keyword 324
- Types of Classes 333
- Nested, Inner, Local and Anonymous Classes 342
- Scope Rules 351
- Access Modifiers 360
- Constants in a Class: static final 369
- Static Members of a Class 377
- Garbage Collection 385
- Inheritance, and Single Inheritance 393
- The Types of Inheritance: Multilevel and Hierarchical 402
- Superclass and Subclass: What Is Inherited 412
- Final Classes and Final Methods 421
- Polymorphism, and Compile-time Polymorphism: Method Overloading 430
- Runtime Polymorphism: Method Overriding 439
- Dynamic Method Dispatch: A Superclass Reference 449
Module II Interfaces, Packages, Exception Handling, Threads and Unit Testing
- Interfaces: Defining an Interface 460
- Implementing Interfaces 470
- Abstract Classes 480
- Abstract Methods, and Abstract Classes Against Interfaces 490
- Multiple Interface Implementation 499
- Packages, and the Predefined Packages 509
- User Defined Packages 518
- Access Specifiers Across Packages 528
- Java Built-in Packages 536
- Exceptions, and the Exception Hierarchy 546
- The try and catch Blocks 555
- The finally Block, and try-with-resources 565
- The throw Keyword, and Exceptions of Your Own 573
- The throws Keyword: Checked and Unchecked Exceptions 581
- Introduction to Threads 590
- Creating Threads: Extending Thread and Implementing Runnable 598
- Running Threads: start, sleep, join and Priorities 608
- The Thread Lifecycle 618
- The Collection Framework 626
- Lists: ArrayList and LinkedList 635
- Sets: HashSet, LinkedHashSet and TreeSet 645
- Maps: HashMap, LinkedHashMap and TreeMap 653
- Unit Testing with JUnit 661
- Debugging in an IDE: Breakpoints, Stepping and Watches 670
- Swing, and the Flow, Grid and Border Layouts 678
- Event Handling: Action, Mouse and Key Events 691
- A Mini Project: A Library Book Tracker 701
- Sitting the Paper: Thirty Marks in One Hour 714
The chapters
Every chapter of this book comes with the B.Sc. (Information Technology) Semester 4 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in
Or notes + practical solutions: ₹499
Or solved papers only: ₹499
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.