JAVA PRIMER
Getting Started
Pointers (C++):
Basic concept of pointer
Stack & Heap Memory Area
Address Mechanism
Dynamic Memory Allocation
new keyword (int *p = new int, int *p = new int(3), int *p = new int[3])
Object Creation using ‘new’ keyword
Tokens:
Character Set, Identifier, Variable, Literals, Keywords
Data-Type:
Java is highly typed language, Type conversion & Casting
Operators:
Arithmetic, Relational, Logical, Unary, Conditional/Ternary, Assignment, Bitwise
Control Statements:
Condition (if, if-else), Loops (while, do-while, for) & Branching (switch-case);
Introducing Classes & Objects:
What is Class?
What is Object?
Members: Data & Method
Access: Default, private, public, protected
Creating Class
Object Instantiation Process
What happen when object assign to other object or object compare with other object?
Array Instantiation
Command Line Argument
Constructor: Default, Parameterized
this Vs this()
Call by value & Call by reference
Passing Object as an argument (Adding two objects)
static data member, static method & static block
Inheritance:
Basics
Constructor calling sequence
Method Overloading Vs Overloading with example
Super class variable can reference a subclass object
abstract method & abstract class
Runtime Polymorphism
final method & final class
abstract Vs final
abstract Vs Interface
Object class: equal, toString, finalize method etc.
Object Life Cycle
Managing Packages:
Basics
Setting classpath
Standard packages
Arrays & String;
Exception Handling:
Java I/O:
Streams
Byte & Character
Sink & Processing
String concatenation
Serialization, Transient etc.;
Be familiar with java.net package & Socket Programming:
java.lang & java.util Packages:
Collection API: Add, Remove & Iterate Objects; Type Wrapper: Importance of Wrapper Classes, String to Native Type Conversion;