1.
Basics of Java
Chapter 1 contains the basic introduction to the Java language such as
What is Java?
History and Features of Java
C++ vs Java
Hello Java Program
Internal How to set the path?
JDK, JRE, and JVM (Java Virtual Machine)
JVM Memory Management
Internal details of JVM
Unicode System,
Operators
Keywords
Control Statements like if-else, switch, for loop, while loop, etc.
2. Class, Object, and Types of Classes
Chapter 2 deals with the most important and core concepts of Java. They are:
Naming convention of Java
Classes, Objects, and Features. It explains how to declare a class, how to create an object
in Java.
Object declaration and initialization
Life cycle of an object
Anonymous object in Java
3. Packages in Java
Chapter 3 deals with Packages in Java. Under this chapter, we will learn the
following topics.
How to declare a package in a company project
Package naming conventions
Sub packages
Types of packages, such as user-defined packages, built-in packages
Importing packages in Java
4. Data types in Java
This chapter deals with the following topics in Java.
Data types in Java
Primitive data types
Non-primitive data types
Memory allocation of primitive and non-primitive data types, etc.
5. Variables, Constants, and Literals
Chapter 5 discusses three topic variables, constants, and literals. You will learn the
following subtopics in this chapter.
Variable declaration & initialization
Naming convention
Types of variables such as local variables, instance variables, and static variables
Scope and memory allocation of variables.
6. Methods in Java
In chapter 6, you will learn what is a method and how to create, and call it in Java.
Look at the topics.
What is a method in Java
Use of method in Java
Method declaration, method signature
Types of methods in Java: predefined method, user-defined methods: instance method,
static method
Calling of method
Java main method
Return type
7. Constructor in Java
In this chapter, you will familiar with topics like:
What is Constructor in Java?
Types of constructors: Default and Parameterized constructors
Java constructor overloading
Constructor chaining in java
Copy constructor in Java
8. Modifiers in Java
This chapter deals with topics like:
What is Access modifier and Non-access modifier in Java?
Types of access modifiers like private, default, protected, and public
Types of non-access modifiers like abstract, final, native, static, Strictfp, synchronized
modifier, transient, volatile.
9. Static Keyword
This chapter deals with the following important topics:
What is static keyword?
Static variable
Static method
Static initialization block
Instance initialization block
Static nested class
Difference between static variable and instance variable, static method and instance
method, static block, and instance block.
10. Final Keyword
Under this chapter, you will learn three important topics:
Final keyword
Final variable
Final method
Final class
11. Inner Class in Java
This chapter deals with the following topics. They are:
What is Inner class in Java?
Properties of inner class
Instantiating inner class.
Types of inner class in Java: normal inner class, method local inner class, anonymous
inner class, and static nested class
12. Super and this Keyword
This chapter can be partitioned into two sections: Super and This keyword. The
first section discusses with
Super keyword
Calling of superclass instance variable
Superclass constructor
Superclass method.
The second section deals with
This keyword
Calling of current class constructor, and method
Difference between super and this
13. OOPs concepts
In this chapter, you will learn the most important topic Object-oriented
programming system (OOPs). In the OOPs concept, you will learn class, object,
encapsulation, inheritance, polymorphism, and abstraction. All topics are very
important for interview purposes.
14. Encapsulation
This chapter is very important for Java technical test and interview that deals with
the following topics in Java:
Encapsulation in Java
How to achieve Encapsulation
Data hiding
Tightly encapsulated class
Getter and setter method in Java
Naming convention of getter and setter method
15. Inheritance
This important chapter deals with
Inheritance in Java
Is-A Relationship
Aggregation and Composition (HAS-A)
Types of inheritance: single level, multilevel, hierarchical, multiple, and hybrid
inheritance
16. Polymorphism
This chapter also deals with the following important topics:
Polymorphism in Java
Types of polymorphism: Compile-time polymorphism and Run-time polymorphism
Static and Dynamic Binding
Method overloading
Method overriding
Rules of method overloading and method overriding, various example programs related
to rules of overloading and overriding.
Covariant Return type
17. Abstraction
In this chapter, you will familiarize with the most important topics in Java.
Abstraction in Java
Abstract class
Abstract method
Interface in Java
Nested interface, rules, and example programs.
18. Garbage Collection
This chapter deals with garbage collection in Java.
19. Input Output Stream
In this chapter, you will learn topics like:
FileOutputStream, FileInputStream
BufferedOutputStream, BufferedInputStream
SequenceInputStream
ByteArrayOutputStream, ByteArrayInputStream
DataOutputStream, DataInputStream
Java FilterOutputStream, Java FilterInputStream
Java ObjectStream, Java ObjectStreamField
Console
FilePermissionWriter, Reader, FileWriter, FileReader
BufferedWriter, BufferedReader
CharArrayReader, CharArrayWriter
PrintStream, PrintWriter
OutputStreamWriter, InputStreamReader
PushbackInputStream, PushbackReader
StringWriter, StringReader
PipedWriter, PipedReader
FilterWriter, FilterReader, File FileDescriptor, RandomAccessFile, and java.util.Scanner.
20. Collections Framework
This chapter is one of the most favorite chapters of the interviewer. It deals with
the following important topics like
What is Collections Framework?
List, Set, SortedSet, Queue, Deque, Map, Iterator, ListIterator, and Enumeration.
ArrayList, LinkedList,
HashSet, LinkedHashSet, TreeSet,
ArrayDeque, PriorityDeque,
EnumSet, AbstractCollection, AbstractList, AbstractQueue, AbstractSet, and
AbstractSequentialList.
Map, Map Entry, SortedMap, and NavigableMap
HashMap, LinkedHashMap, TreeMap, IdentityHashMap, WeakHashMap, and EnumMap.
Comparator, RandomAccess interfaces as well as Observable class.
21. Serialization
This chapter deals with serialization, deserialization, and Java transient keyword.
22. Exception Handling in Java
This chapter is very important for any Java technical test or interview. In this
chapter, you will familiar with the following key topics:
Exception handling in Java
Try-catch block
Multiple catch block
Nested try block
Finally block
Throw keyword
Throws keyword
Throw vs Throws, Final vs Finally vs Finalize
Exception handling with method overriding
Java custom exceptions
Throwable class
Errors
Example Programs based on the above topics
23. Java Annotations
This chapter deals with Java annotations, Built-In Java annotations like @Override,
@SuppressWarnings, @Deprecated, @Target, @Retention, @Inherited,
@Documented, Java custom annotations, and types of annotations.
24. Reflection in Java
Reflection API
NewInstance() & determining the class object
Javap tool, Creating javap tool
Creating applet viewer
Accessing private method from outside the class
25. Java Array
This chapter deals with the following key topics:
Java Array
Types of array: single dimensional array, multidimensional array, declaration,
instantiation, and initialization of Java array
Passing array to a method
Anonymous array
Cloning an array
26. String, String Buffer, String Builder
This is the most important chapter in the whole core java. It will deal with basically
three topics such as:
String
Immutable String
String Comparision
String concatenation
Substring
StringBuffer class
StringBuilder class
toString method
StringTokenizer class
27. Java Thread
What is thread in Java?
Java multithreading
Multithreading
life cycle of a thread creating
Thread scheduler
Sleeping a thread, Start a thread twice
Calling run() method
Joining a thread
Naming a thread
Thread priority,
Daemon thread
Thread pool
Thread group
Shutdownhook
Java Synchronization: synchronized method, synchronized block, static synchronization
Deadlock
Inter-thread Communication
Interrupting Thread
28. JDBC
This chapter deals with
JDBC Drivers
Steps to connect to Database
Connectivity with Oracle
Connectivity with MySQL
Connectivity with Access without DSN
DriverManager
Types of JDBC statements: Statement, Prepared statement, Callable statement
Database Metadata, Resultset Metadata
ResultSet, types of ResultSet,
Storing image, Retrieving image
Storing file, Retrieving file, Stored procedures, and functions
Transaction Management
Batch Processing
JDBC New Features, Mini Project, and interview questions.
29. Agile
In this chapter, you will familiar with
Agile model
Advantages, and Disadvantages of Agile model
Agile versus Waterfall method
Important terminology: Scrum, Scrum Master, Flow of Agile Implementation, Sprint, and
Burn down Charts.
30. Design Pattern
In design pattern chapter, you will learn
Singleton Object
Singleton design pattern with Serialization
Factory Pattern
Abstract Factory.
31. Database
Advanced Java Syllabus (Server Technologies)
In this section, you will be familiar with advanced Java syllabus. In this chapter, we
will learn the following important advanced topics:
Servlet
Web Application Basics
Architecture and challenges of Web Application,
Introduction to servlet
Servlet life cycle
Developing
Deploying
Servlets
Exploring Deployment
Descriptor (web.xml)
Handling Request
Response
Java Editions
Java programming language comes in various editions, each tailored for specific
purposes in the world of software development. The primary editions include:
(1) Java Standard Edition (SE):
Known as Core Java, it forms the foundation of the Java programming language.
Focuses on essential libraries and components for general-purpose development.
Emphasizes object-oriented programming (OOP) principles.
Primarily used for crafting desktop or Windows-based applications.
The Java Development Kit (JDK) is a well-known implementation of Java Standard Edition
(Java SE).
(2) Java Enterprise Edition (EE):
Java EE (also known as Java 2 platform or J2EE) is the enterprise platform designed for
server-based application development.
Strongly emphasizes on large-scale enterprise applications.
Provides additional features like JavaServer Faces (JSF), Enterprise JavaBeans (EJB), and
more.
Suitable for developing robust, scalable, and distributed server-side applications, making
it a preferred choice for web development.
(3) Java Micro Edition (ME):
Designed for developing mobile phone applications.
Offers a streamlined framework for creating applications designed for mobile devices.
Ideal for developing applications for feature phones and other embedded systems.
(4) JavaFX:
Designed for creating rich internet applications (RIAs).
Provides a set of graphics and media packages for building visually appealing user
interfaces.
Suited for developing modern and interactive applications.