Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

About This Course

Lesson 1 of 18 in the free Programming in Java notes on Siksha Sarovar, written by Rohit Jangra.

Programming in Java — Complete University Course

This is an advanced, exam-oriented treatment of Java for BCA/B.Tech university programmes. Every lesson goes beyond syntax into JVM internals, memory behaviour (stack vs heap), and the traps examiners love — dynamic dispatch, string interning, HashMap internals, thread lifecycle, and more. Each lesson ends with an 🎯 Exam Focus block of PYQ-style questions, and most lessons ship a complete runnable program you can compile with javac and run immediately.

Unit-wise Syllabus Map

UnitTopicsLessons
Unit I — Java FundamentalsJava platform (JDK/JRE/JVM), bytecode & JIT, data types, operators, type casting, control flow, arrays & stringsLessons 1 – 4
Unit II — Object-Oriented ProgrammingClasses & objects, constructors, static members, inheritance, polymorphism, abstraction, interfaces, packages & access controlLessons 5 – 9
Unit III — Exception Handling & ConcurrencyException hierarchy, try-with-resources, custom exceptions, multithreading, synchronization, Collections Framework, genericsLessons 10 – 12
Unit IV — Advanced JavaFile I/O & serialization, Lambda expressions & Stream API, JDBC database connectivity, GUI with Swing & applet lifecycleLessons 13 – 16

How to Study This Course

  1. Read the theory tables carefully — comparison tables (e.g., String vs StringBuilder, checked vs unchecked exceptions, ArrayList vs LinkedList) are the single highest-yield exam material.
  2. Type out every code snippet — university papers almost always contain at least two "write a program" questions worth 10+ marks each.
  3. Trace outputs by hand — "predict the output" questions test constructor chaining order, static blocks, string pool behaviour, and exception flow.
  4. Finish with the Exam Focus questions — they are modelled directly on previous-year end-term papers.

Prerequisites

Basic programming logic (any language) is enough. C/C++ background helps because Java deliberately fixes several C++ pain points — no pointers, no multiple class inheritance, automatic garbage collection — and examiners frequently ask you to compare the two.

PYQ papers are available at the end of the lesson list.