munotes®

JAVA Programming Notes | B.Sc. (Computer Science) Semester 3 | Mumbai University | munotes

Get access to whole semester resourcesSemester Pass

Official Notes munotes.in

JAVA Programming

B.SC. (COMPUTER SCIENCE) · SEMESTER 3

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)

For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in Second Year

Contents

Module I Java Basics and OOP, Packages, Exceptions, Multithreading, Collections and JSON

  1. What Java Is, Where It Came From, and Why It Is Still Everywhere 1
  2. The Features of Java, Each One Shown Working 6
  3. The JVM: What Actually Runs Your Program 12
  4. The JDK and the JRE: What You Install, and What Went Away 17
  5. Installing the JDK and Running Your First Program 21
  6. The Structure of a Java Program, Word by Word 26
  7. Tokens: Every Kind of Word a Program Is Made Of 31
  8. Data Types: The Eight Primitives, and What a Reference Is 36
  9. Type Conversion and Casting 42
  10. The Wrapper Classes, Autoboxing and Unboxing 49
  11. Operators, and the Order They Are Applied In 54
  12. Deciding: if, else and switch 61
  13. Repeating: while, do-while, for and the for-each Loop 68
  14. Arrays 74
  15. Strings and the String Class 81
  16. Reading Input: the Scanner and the Command Line 87
  17. Methods 92
  18. The Four Principles of Object-Oriented Programming 98
  19. The Class 103
  20. The Object, the Reference, and the Heap 108
  21. Constructors 114
  22. The this Keyword 119
  23. static 123
  24. final 128
  25. Inheritance 133
  26. The super Keyword 141
  27. Polymorphism by Overloading 146
  28. Polymorphism by Overriding, and Dynamic Dispatch 151
  29. Abstraction 157
  30. Encapsulation 162
  31. Abstract Classes 167
  32. Interfaces 172
  33. Inner Classes 178
  34. Anonymous Classes and the Lambda 182
  35. The Object Class: toString, equals and hashCode 188
  36. Predefined Packages and import 194
  37. Writing Your Own Package, and Making a Jar 199
  38. Access Specifiers 204
  39. What an Exception Is, and the Hierarchy 209
  40. The Predefined Exceptions, One by One 214
  41. try, catch and finally 219
  42. The throw Statement 225
  43. The throws Clause 230
  44. Writing Your Own Exception 235
  45. What a Thread Is 240
  46. Creating a Thread: Thread and Runnable 245
  47. The Thread Life Cycle 250
  48. Controlling a Thread, and the Three Methods That Are Gone 254
  49. Synchronization, and the Race It Prevents 260
  50. wait, notify and notifyAll: the Producer and the Consumer 266
  51. Deadlock 271
  52. java.util and the Collection Framework 276
  53. Generics, Enough to Use a Collection 281
  54. The Collection Interface and the Iterator 286
  55. The List Interface 291
  56. The Set Interface 295
  57. The Map Interface 299
  58. ArrayList 304
  59. LinkedList 308
  60. HashSet 313
  61. TreeSet, Comparable and Comparator 318
  62. HashMap 323
  63. Collections and Arrays: the Utility Methods 328
  64. What JSON Is 333
  65. JSON Syntax, Rule by Rule 337
  66. The JSON Data Types Against Java's 341
  67. JSON with Java 346
  68. How This Paper Is Examined: the Journal, the Write-up and the Viva 350
  69. The Module 1 Practical Set 355

Module II Swing, JDBC, Servlets, JSP and JSON

  1. The Java Foundation Classes: AWT, Swing and What Came After 363
  2. JFrame: the Window 368
  3. JPanel 373
  4. JButton 377
  5. JTextField and the Text Components 381
  6. JLabel 386
  7. The Other Common Swing Components 390
  8. Layouts 395
  9. The Delegation Event Model 401
  10. ActionListener 406
  11. Adapter Classes 411
  12. A Complete Swing Application 416
  13. JDBC Architecture 422
  14. The JDBC Driver Types 427
  15. Connecting to a Database 431
  16. Statement 436
  17. PreparedStatement 440
  18. ResultSet 445
  19. Navigating Data 450
  20. ResultSetMetaData 454
  21. Transactions 459
  22. SQLException 465
  23. A Complete JDBC Program: Create, Read, Update, Delete 471
  24. What a Servlet Is, and What a Container Does 476
  25. Installing Tomcat and Deploying Your First Servlet 480
  26. The Servlet Life Cycle 485
  27. The Basic Structure of a Servlet 490
  28. An HTML Form and the Servlet That Answers It 495
  29. The Deployment Descriptor 502
  30. ServletConfig 509
  31. ServletContext 515
  32. RequestDispatcher 522
  33. Response Redirection 528
  34. Session Tracking: Why HTTP Forgets You 535
  35. Cookies 542
  36. URL Rewriting 549
  37. HttpSession 555
  38. The Filter API 564
  39. What a JSP Is, and Its Architecture 572
  40. The JSP Life Cycle 579
  41. Scripting Elements 586
  42. Directives 593
  43. The Implicit Objects 601
  44. Expression Language 607
  45. JSTL 614
  46. CRUD with JSP 623
  47. A Session-Managed Web Application, End to End 632
  48. JSON on the Web 642
  49. The JSON Data Types on the Wire 650
  50. JSON with Java: org.json, Gson and Jackson 658
  51. The Module 2 Practical Set 665
munotes.in

The chapters

Every chapter of this book comes with the B.Sc. (Computer Science) Semester 3 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: ₹499 Already bought it? Sign in

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!