1. Basics of Java
The first chapter covers the fundamentals of the Java programming 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, and Control Statements like if-else, switch, For loop, while loop, etc.
2. Class, Object, and Types of classes
The most fundamental and core ideas of Java are covered in Chapter 2. They are as follows:
- Naming convention of Java
- Classes, Objects, and Features. It explains how to declare a class, and how to create an object in Java.
- Object declaration and initialization
- Life cycle of an object
- Anonymous object in Java
3. Packages in Java
Packages in Java are covered in Chapter 3. The following topics will be covered in this chapter.
- 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
The following Java concepts are covered in this chapter.
- 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
Variables, constants, and literals are the three topics covered in Chapter 5. This chapter will cover the following subtopics.
- 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
- Methods 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 in Java.
7. Constructor in Java
You will learn about the following things in this chapter:
- 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 covers Topics such as
- In Java, what is the difference between an access modifier and a non-access modifier?
- Private, default, protected, and public are examples of access modifiers.
- Types of Non-access modifiers like abstract, final, native, static, Strictfp, synchronized modifier, transient, volatile.
9. Static Keyword
The following significant Topics are covered in this chapter.
- What is Static keyword?
- Static variable
- Static method
- Static block, Instance block
- Static Nested Class in Java
- Difference between static variable and instance variable, static method and instance method, static block, and instance block.
10. Final Keyword
The following significant Topics are covered in this chapter.
- Final keyword
- Final variable
- Final method
- Final class.
11. Inner Class in Java
The following significant Topics are covered in this chapter.
- What is Inner class in Java?, Properties of the 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
The following significant Topics are covered in this chapter.
- 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.
13. OOPs concepts
The most essential topic in this chapter is the object-oriented programming system (OOPs). You will learn about class, object, encapsulation, inheritance, polymorphism, and abstraction as part of the OOPs paradigm. For the objectives of the interview, all of the issues are quite crucial.
14. Encapsulation
The following significant Topics are covered in this chapter.
- 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
The following significant Topics are covered in this chapter.
- Inheritance in Java
- Is-A Relationship
- Aggregation and Composition(HAS-A)
- Types of inheritance: Single level, Multilevel, Hierarchical, Multiple, and Hybrid inheritance.
16. Polymorphism
The following significant Topics are covered in this chapter.
- 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
The following significant Topics are covered in this chapter.
- Abstraction in Java
- Abstract class
- Abstract method
- Interface in Java
- Nested interface, rules, and example programs.
18. Garbage Collection
In this chapter, you’ll learn about garbage collection in Java.
19. Input-Output Stream
The following significant Topics are covered in this chapter.
- 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
The following significant Topics are covered in this chapter.
- 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
Serialization, Deserialization, and the Java temporary keyword are all covered in this chapter.
22. Exception Handling in Java
This chapter is extremely necessary for any Java technical exam or interview. This chapter will introduce you to
- 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
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 is about
- Java Array
- Types of array: single dimensional array, multidimensional array, declaration, instantiation, and initialization of Java array
- Passing array to a method
- Anonymous array in Java
- Cloning an array in Java
26. String, String Buffer, String Builder
This is the most crucial chapter in the whole Java core curriculum. It will primarily cover three subjects, namely
- String,
- Immutable String
- String Comparision, String concatenation
- Substring
- StringBuffer class
- StringBuilder class
- To String method
- StringTokenizer class
27. Java Thread
- 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