Last Updated on by ICT Byte
Introduction to OOP
- Introduction to OO: Classes and Objects
- Comparison between structured programming and OOP
- Declaring objects
- Member data and functions
- Encapsulation
- Constructor, destructor and finalize() method
- Chain of constructor
- Invoking base class constructor
- Objects and arrays
- “this” keyword
- Wrapper classes
- Objects as parameter
INHERITANCE AND POLYMORHISM
- Super class, sub class, inheritance and member access
- Types of inheritance
- extends and super keyword
- Overriding methods
- The Object class
- Final classes and methods
- Abstract classes and methods
- Creating and using interface
- Method overloading
- Upcasting and downcasting
- Object equivalence
STRING AND STRINGBUFFER CLASS
- String vs StringBuffer
- Accessor methods
- Immutable string
- Converting objects to string
- Strings and the Java compiler
EXCEPTION HANDLING
- Errors and exceptions
- Why we need to deal with exception
- Life cycle of exception
- Checked and unchecked exception
- Exception hierarchy
- Catching and handling exceptions
- Try, catch and finally block
- Throwing the exception
- Exception class
- Creating our own exception
INPUT AND OUTPUT STREAMS
- Representing and managing file paths
- I/O class hierarchy
- Byte streams and character streams
- Exception handling in Java I/O
- Java file I/O classes
- Object serialization
JAVA COLLECTIONS
- Java collection and generic
- Iterating collection
- List, ArrayList, LinkedList, Set, HashSet, Map
- Type safety in java collection
- Type wildcards
DESIGN PATTERN
- Introduction to design pattern
- Singleton, factory, abstract factory
- Adapter
- Composite
- Decorator
- Chain of responsibility
- Observer