munotes®

Core Java Notes | B.Sc. (Information Technology) Semester 4 | Mumbai University | munotes

MU B.Sc. (Information Technology) student group Free to join

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

  1. Java: Its History and Its Evolution 1
  2. The Features of Java 9
  3. Platform Independence: Bytecode and the JVM 17
  4. The JDK, the JRE and Your First Program 25
  5. Java Is Object-Oriented 33
  6. Data Types: The Eight Primitive Types 41
  7. Variables, and Dynamic Initialization 52
  8. Arithmetic Operators, and Increment and Decrement 62
  9. Relational, Logical and Bitwise Operators 71
  10. Assignment Operators and the Conditional Operator 82
  11. Operator Precedence and Associativity 92
  12. Constants and Literals 102
  13. Type Casting: Widening and Narrowing 111
  14. Decision Making: The if and if-else Statements 120
  15. The switch Statement 130
  16. Loops, and the for Loop 140
  17. The while Loop 150
  18. The do-while Loop 158
  19. The break and continue Statements 165
  20. Arrays: One-Dimensional Arrays 174
  21. Two-Dimensional Arrays, and Multiplying Two Matrices 184
  22. The Arrays Class 196
  23. The String Class 207
  24. String Methods 216
  25. Comparing and Sorting Strings 226
  26. The StringBuffer Class 235
  27. The StringBuilder Class, and Checking a Palindrome 243
  28. Object-Oriented Programming Concepts 252
  29. Defining a Class 261
  30. Creating Objects 270
  31. Instance Variables 279
  32. Methods 287
  33. Constructors 296
  34. Constructor Overloading 305
  35. The this Keyword 314
  36. The super Keyword 324
  37. Types of Classes 333
  38. Nested, Inner, Local and Anonymous Classes 342
  39. Scope Rules 351
  40. Access Modifiers 360
  41. Constants in a Class: static final 369
  42. Static Members of a Class 377
  43. Garbage Collection 385
  44. Inheritance, and Single Inheritance 393
  45. The Types of Inheritance: Multilevel and Hierarchical 402
  46. Superclass and Subclass: What Is Inherited 412
  47. Final Classes and Final Methods 421
  48. Polymorphism, and Compile-time Polymorphism: Method Overloading 430
  49. Runtime Polymorphism: Method Overriding 439
  50. Dynamic Method Dispatch: A Superclass Reference 449

Module II Interfaces, Packages, Exception Handling, Threads and Unit Testing

  1. Interfaces: Defining an Interface 460
  2. Implementing Interfaces 470
  3. Abstract Classes 480
  4. Abstract Methods, and Abstract Classes Against Interfaces 490
  5. Multiple Interface Implementation 499
  6. Packages, and the Predefined Packages 509
  7. User Defined Packages 518
  8. Access Specifiers Across Packages 528
  9. Java Built-in Packages 536
  10. Exceptions, and the Exception Hierarchy 546
  11. The try and catch Blocks 555
  12. The finally Block, and try-with-resources 565
  13. The throw Keyword, and Exceptions of Your Own 573
  14. The throws Keyword: Checked and Unchecked Exceptions 581
  15. Introduction to Threads 590
  16. Creating Threads: Extending Thread and Implementing Runnable 598
  17. Running Threads: start, sleep, join and Priorities 608
  18. The Thread Lifecycle 618
  19. The Collection Framework 626
  20. Lists: ArrayList and LinkedList 635
  21. Sets: HashSet, LinkedHashSet and TreeSet 645
  22. Maps: HashMap, LinkedHashMap and TreeMap 653
  23. Unit Testing with JUnit 661
  24. Debugging in an IDE: Breakpoints, Stepping and Watches 670
  25. Swing, and the Flow, Grid and Border Layouts 678
  26. Event Handling: Action, Mouse and Key Events 691
  27. A Mini Project: A Library Book Tracker 701
  28. Sitting the Paper: Thirty Marks in One Hour 714
munotes.in

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.

Issue
Done!