Key takeaways
- Inheritance, interfaces, exceptions and threads carry most marks, often with short programs.
- Learn JVM vs JRE vs JDK and why Java is platform independent; they are common short answers.
- Each section has exam tips and formula boxes, and the last page lists the most asked practice questions.
- These are original Uncodemy revision notes, not official university notes; check your own syllabus.
About these Java handwritten notes
This page offers Uncodemy's Programming in Java notes as a free handwritten-style PDF. Programming in Java teaches object-oriented programming in a platform-independent language used widely for backend and Android development. The notes are written in short points with neat tables, labelled diagrams, boxed formulas and exam tips, so you can revise a full unit in one sitting instead of reading a long textbook chapter.
Please note: these are original Uncodemy revision notes. They follow the common syllabus that most Indian universities share for this subject, but they are not official university notes. Check your own university syllabus and add anything it lists that is missing here.
What's inside the Java notes
The PDF is arranged in 8 sections plus a final page of most asked practice questions. The sections follow the usual unit order of a Programming in Java syllabus, so you can map them to your own units quickly. Here is what each section covers.
Introduction
How a Java program is compiled to bytecode and run by the JVM, JDK vs JRE vs JVM, and Java's main features.
Data types, operators and control
Primitive types, type casting, operators, control statements, arrays and strings.
Classes, objects and constructors
Defining classes, constructors and constructor overloading, this keyword, static members and access modifiers.
Inheritance and polymorphism
Types of inheritance in Java, super keyword, method overloading vs overriding, and dynamic method dispatch.
Abstract classes, interfaces and packages
Abstract classes vs interfaces, multiple inheritance through interfaces, and creating and importing packages.
Exception handling
Checked vs unchecked exceptions, try, catch, finally, throw and throws, and custom exceptions.
Multithreading
Thread life cycle, creating threads by extending Thread or implementing Runnable, and synchronisation.
Collections, I/O and JDBC
The collections framework with List, Set and Map, I/O streams, and the steps to connect to a database with JDBC.
Most asked questions (practice)
Ten exam-style questions, from JVM vs JRE vs JDK to HashMap vs Hashtable.
How to use handwritten notes to revise Java
Java papers ask theory with short programs, so revise each concept in the notes along with one small program you can write by hand.
- Write a class hierarchy with an overridden method and show dynamic method dispatch in main.
- Write the same idea once with an abstract class and once with an interface, and list the differences.
- Write a program that uses try, catch, finally and a custom exception.
- Create a thread both ways and add a synchronized method to fix a shared counter.
A simple three-pass method works well with handwritten notes. In the first pass, read one section and underline only what you do not already know. In the second pass, close the notes and write the definitions, diagrams and steps for that section on a blank sheet, then compare and correct in a different colour. In the third pass, a day or two later, answer two or three exam-style Java questions in timed conditions using only memory. Add your own examples and doubts in the margins so the PDF becomes your personal revision copy.
Formulas, diagrams and definitions to memorise
- The flow: .java source, javac compiler, .class bytecode, JVM with class loader, verifier and execution engine.
- The access modifier table for private, default, protected and public across class, package, subclass and world.
- Overloading is resolved at compile time; overriding is resolved at run time.
- The thread life cycle: new, runnable, running, blocked or waiting, and terminated.
- String is immutable; StringBuilder is mutable and not synchronised; StringBuffer is mutable and synchronised.
Common mistakes that cost marks
- Saying Java supports multiple inheritance of classes; it supports it only through interfaces.
- Calling run() directly instead of start(), which does not create a new thread.
- Placing a general catch
(Exception e)before a specific one, which does not compile. - Comparing strings with == instead of equals().
Exam focus: Java topics that carry the most marks
These Java topics carry the most marks in most university papers.
- JVM, JRE and JDK, and Java features.
- Constructors, this and super, overloading and overriding.
- Abstract classes, interfaces, packages and access modifiers.
- Exceptions, multithreading, String classes and collections.
Typical long questions
- Explain JVM, JRE and JDK and why Java is platform independent.
- Explain constructors and the this and super keywords with examples.
- Compare method overloading and method overriding.
- Compare abstract classes and interfaces, and explain why Java does not allow multiple inheritance of classes.
- Explain checked and unchecked exceptions with try, catch, finally, throw and throws.
- Explain two ways to create a thread and the need for synchronisation.
- Compare String, StringBuilder and StringBuffer.
Marks per question change between universities and years, so confirm the pattern on a recent official paper. In long answers, start with a definition, add a labelled diagram or table, explain the steps and finish with an example or comparison. Underline the key term in each answer and leave a line between steps, because examiners mark faster when the structure is easy to see.
A 7-day revision plan for Java
- Day 1: Introduction, Data types, operators and control.
- Day 2: Classes, objects and constructors, Inheritance and polymorphism.
- Day 3: Abstract classes, interfaces and packages, Exception handling.
- Day 4: Multithreading.
- Day 5: Collections, I/O and JDBC.
- Day 6: write the programs again: inheritance with overriding, an interface, a custom exception, two threads and a small collections example.
- Day 7: answer the most asked practice questions at the end of the notes from memory, then solve one official previous year paper in three hours and mark the units that cost you time.
Keep a single sheet of formulas, definitions and diagrams from the notes for the last hour before the exam, and do not start new topics on the final day.
Who these notes are for
- B.Tech CSE and IT students preparing for the semester Java or OOP with Java exam.
- BCA and MCA students with a Java programming paper.
- Students starting backend or Android development who want Java basics in one place.
- Freshers revising core Java before campus coding tests and interviews.
The notes are a revision aid, not a first textbook. If a Java topic is new to you, learn it from your prescribed book or class lectures first, then come back to the notes to compress and revise it. For practice, pair them with the OOP with Java Important Questions PDF page and your university's official previous year papers. If your syllabus has a topic that is not covered here, you can ask for it through the handwritten notes request page linked below.
Download Programming in Java Handwritten Notes PDF
Programming in Java Handwritten Notes PDF (Free)
The PDF carries the same content as this page in a clean, print-ready layout, so you can read it offline and keep it for revision.
7 pages · 288 KB · PDF · Updated 5 Nov 2026