CORE JAVA

Core Java is the part of Java programming language that is used for creating or developing a general-purpose application. To develop general purpose applications. To develop online application and mobile application. Without Core Java no one can develop any advanced java applications.

SYLLABUS:

Introduction

  • Java Why? What? How? When? Where?
  • Different Java Versions.
  • How Java is different from other Technologies

Introduction to Java Programming Environment

  • How to Install & set Path.
  • A Simple Java Program
  • Compiling & executing Java Program
  • Phases of Java Program
  • Analysis of a Java Program
  • Understanding Syntax and Semantic Error,
  • Runtime Exception
  • Name of a Java Source File
  • Platform Independency
  • Java Technology (JDK, JRE, JVM, JIT)
  • Features of Java
  • Text Editors
  • Consoles

Fundamentals of Java Programming

  • Naming convention of Java language
  • Comments
  • Statements
  • Blocks (Static, Non-static/instance)
  • Identifiers
  • Keywords
  • Literals
  • Primitive Data Types, Range
  • Reference (User defined) Data type
  • Variables (Primitive, Reference)
  • Type Casting, Default Value
  • Operators

Control Structures

  • Working with Control Structures
  • Types of Control Structures
  • Decision Control Structure (if, if-else, if else if, switch –case)
  • Repetition Control Structure (do –while, while, for)

Input Fundamentals and Data types In Java

  • Java program inputs from Keyboard
  • Methods of Keyboard inputs
  • Scanner, Buffered Reader
  • Problem Solving
  • Java Array
  • What is Array
  • Array Declaration in java vs. C and C++.
  • Instantiation of an Array
  • String vs. character array. Accessing Array
  • Elements, Default Value, for-each loop, varargs
  • Length of an Array (What is –Array Index Out Of Bounds Exception)
  • Increasing, Decreasing the Size and Copy of an Array
  • Multi-Dimensional Arrays
  • Program/Interview questions
  • Program/Interview questions Difference between C and C++ with Java
  • Application Compilation and Run

Object Oriented Programming (Oops Concepts in Deep)

  • Procedural Vs Object Oriented Program
  • Different type of Program Procedural Vs Object Oriented.
  • Top Down Vs Bottom Up Approach
  • Introduction to Object Oriented
  • Abstraction, Encapsulation, Inheritance,
  • Polymorphism.
  • Introduction to Classes and Objects
  • Custom Class Definition
  • Instance and Static Variables
  • Different ways to create Object Instance
  • Instance Variable and it’s role in a Class
  • Constructors, types of Constructor,
  • Constructor Rule, Constructor Overloading
  • Static Variable and it’s use.
  • Methods and their behavior.
  • Constructor vs Methods
  • Constructors
  • “this” Keyword
  • Java Access Modifiers (and Specifies)
  • Programming Interview related Question and Answer
  • Call by value, Call by reference

Command-Line Arguments

  • What is a Command-Line Argument?
  • Java Application with Command-Line Arguments
  • Conversion of Command-Line Arguments
  • Passing Command-Line Arguments
  • Using methods (Static , Non Static)

Integrated Development Environment

  • Using various Editors
  • Program Compilation, Execution in Editor
  • Using Eclipse IDE
  • Project Set Up
  • Source File Generation
  • Application Compilation and Run

Inner Class

  • First View of Inner Class
  • Outer Class Access
  • Types of Inner Class

Inheritance

  • Complete concepts of Inheritance
  • Sub-Classes
  • Object Classes
  • Constructor Calling Chain
  • The use of “super” Keyword
  • The use of “private” keyword inheritance.
  • Reference Casting

Abstract Classes and Inheritance

  • Introduction to Abstract Methods
  • Abstract Classes and Interface
  • Interface as a Type
  • Interface v/s Abstract Class
  • Interface Definition
  • Interface Implementation
  • Multiple Interfaces’ Implementation
  • Interfaces’ Inheritance
  • How to create object of Interface

Polymorphism

  • Introduction to Polymorphism
  • Types of Polymorphism
  • Overloading Methods
  • Overriding Methods
  • Hiding Methods
  • Final Class and Method
  • Polymorphic Behavior in Java
  • Benefits of Polymorphism
  • “Is-A” vs “Has-A”
  • Association Vs Aggregation

 Package

  • Package and Class path and its use
  • First look into Packages
  • Benefits of Packages
  • Package Creation and Use
  • First look into Class path
  • Class path Setting
  • Class Import
  • Package Import
  • Role of public, protected, default and private w.r.t package
  • Namespace Management
  • Package vs. Header File
  • Creating and Using the Sub Package
  • Sources and Class Files Management

Using Predefined Package & Other Classes

  • Java. Lang Hierarchy
  • Object class and using to String (), equals (), hash Code (), clone (), finalize () etc.
  • Using Runtime Class, Process Class to play music, video from Java Program
  • Primitives and Wrapper Class
  • Math Class
  • String, String Buffer, StringBuilder Class
  • String Constant Pool
  • Various usage and methods of String,StringBuffer, StringBuilder
  • Wrapper Classes
  • System Class using gc(), exit(), etc.

 

New Concepts in Package

  • Auto boxing and Auto unboxing
  • Static import.
  • Instance of operator.
  • Enum and its use in Java
  • Working with jar

Garbage Collection

  • Garbage Collection Introduction
  • Advantages of Garbage Collection
  • Garbage Collection Procedure
  • Java API

Exception Handling

  • Introduction to Exceptions
  • Effects of Exceptions
  • Exception Handling Mechanism
  • Try, catch, finally blocks
  • Rules of Exception Handling
  • Exception class Hierarchy, Checked &
  • Unchecked Exception
  • Throw & throws keyword
  • Custom Exception Class
  • Chained Exception.
  • Resource handling & multiple exception class

Multithreading

  • Introduction
  • Advantages
  • Creating a Thread by inheriting from Thread class
  • Run () and start () method.
  • Constructor of Thread Class
  • Various Method of Thread Class
  • Runnable Interface Implementation
  • Thread Group
  • Thread States and Priorities
  • Synchronization method, block
  • Class & Object Level Lock
  • Deadlock & its Prevention
  • Inter thread Synchronization
  • Life Cycle of Thread
  • Deprecated methods : stop(), suspend(),resume(), etc.

Input and Output Streams

  • Java I/O Stream
  • I/O Stream – Introduction
  • Types of Streams
  • Stream Class Hierarchy
  • Using File Class
  • Copy and Paste the content of a file
  • Byte Streams vs Character Streams
  • Text File vs Binary File
  • Character Reading from Keyboard by Input Stream Reader
  • Reading a Line/String from Keyboard by Buffered Reader
  • Standard I/O Streams Using Data Streams to read/write
  • primitive data
  • Print Stream vs Print Writer Using StreamTokenizer and RandomAccessFile
  • Interview related Question and Answer

Serialization

  • Introduction to Serialization
  • Using Object Streams to read/write object
  • Transient Keyword
  • Serialization Process
  • Deserialization Process
  • Interview related Question and Answer

Collection Framework

  • Generics(Templates)
  • What is generic
  • Creating User defined Generic classes
  • The java.util package
  • Collection
  • What is Collection Framework
  • List, Set & Map interfaces
  • Using Vector, Array List, Stack,
  • Linked List, etc.
  • Using Collections class for sorting
  • Using Hashtable, Hash Map, Tree Map,
  • SortedMap, LinkedHashMap etc.
  • Iterator, Enumerator.
  • Using Queue, Deque, SortedQue, etc.
  • Using HashSet, TreeSet, LinkedHashSet etc
  • Using Random class
  • Using Properties in a Java Program
  • Using user defined class for DataStructure