Tuesday, 28 November 2017

Core Java Contents


====================Core Java===============

Introduction to java

Ø History of java

o  Features of java

o  Modules in java

o  Java API

o  Concepts of JDK,JSL,JRE

o  How java Works

o  Installation of JDK

Ø Set up path and class path

Ø Structure of java program

Ø Design, Compile and execute first java program through command prompt

Ø Analysing the output in command prompt





Introduction to IDE:

o  What is IDE

o  Purpose of IDE

Ø Different IDE's in the market

o  Benefits of using IDE

Ø Installing IDE  

o  Creating java project in IDE

o  Creating package, class in IDE         

o  Designing and executing a java program in IDE

o  Analyse the results in console



Data types

Ø What is a data type

o  Types

o  Differences among different data types



Ø Variables and constants in java

o  What is a variable

o  Instance or non static variables

o  static variables

o  final variables

o  local variables

o  What is a constant

o  How to convert a variable into constant



Comments in java



o  What is a comment

o  Single line comments

o  Multiline comments



Operators

Ø Arithmetic Operator    

Ø Relational Operator        

Ø Incrementation Operator

Ø Decrementation Operator

Ø Logical Operator

Ø Assignment Operator     

Ø Conditional or ternary Operator           

Ø Bitwise Operator



Decision making and branching



o  if

o  if-else

o  if-else ladder

o  Nested if

o  switch keyword



Looping



o  for loop

o  while loop

o  do-while loop

o  Nested loops

o  break keyword

o  continue keyword

o  goto keyword



Methods in java

o  What is a method

o  Types

§  Parameterless methods

§  Parameterized methods

o  Parameter passing techniques to a method







Object Oriented programming Language



o  What is OOPS

o  Relation between java and OOPS

o  What is a class

o  What is an object

o  Examples of classes and objects

         

Naming conventions in java

o  What is naming convention

o  Conventions for class

o  Conventions for methods

o  Conventions for keywords



         

          Pillars of java



o  Encapsulation

o  Polymorphism

§  Method Overloading

§  Method Overriding

o  Inheritance

§  Single

§  Hierarchical

§  Multi level

§  Multiple

§  Hybrid

o  Abstraction



Constructors

o  What is a constructors

o  Purpose of it

o  Default constructors

o  Parameterless constructors

o  Parameterized constructors

o  Overloaded constructors

o  this keyword

o  super keyword

o  Field shadowing



Destructors



o  What is a destructor

o  What is garbage Collection

o  How to implement destructor concept in java



How to accept input from the user



o  Scanner class

o  BufferedReader class

o  DataInputStream class









Arrays



o  What is an array

o  Purpose of an array

o  1D and 2D arrays

o  Enhanced for loop/for each loop



Command Line Arguments



o  What are Command Line Arguments

o  Purpose of Command Line Arguments

o  How to execute program by passing Command Line Arguments



Strings



o  What is a String

o  Purpose of using String

o  String Tokenizer

o  split method

o  StringBuffer and StringBuilder classes



Interfaces



o  Problems with multiple inheritance

o  What is an interface

o  Purpose of an interface

o  Dynamic method dispatch

o  How interfaces supports multiple inheritance

o  Extending interfaces



enum keyword



o  What is enum

o  Purpose of it

o  Advantages of using enum keyword



Packages



o  What is a package

o  Purpose of using packages

o  Advantages

o  How to create a package and how to use the classes under a package

o  How to avoid naming collisions using packages

o  Access specifiers

o  Sub packages





MultiThreading



o  What is a thread

o  How to run multiple pieces of codes  simultaneously using threads

o  Different methods in thread class

o  Creating threads by using Thread class

o  Creating threads by using Runnable interface

o  Synchronization

o  Synchronized methods

o  Synchronized blocks

o  Types of locks

o  Purpose of join method

o  Thread priority

o  Inter thread communication



Exception handling



o  What is an exception

o  How to handle exceptions

o  try keyword

o  catch keyword

      throw keyword

o  throws keyword

o  finally keyword

o  Types of exceptions

§  Checked exceptions

§  Unchecked exceptions

o  Custom exceptions



Collection framework

         

o  Disadvantages with the arrays

o  What is a collection

o  Purpose of using collections

o  Types of collection

o  Different classes and interfaces in collection framework

o  What are Wrapper classes

o  What is an iterator

o  Types of iterators

§  Normal iterator

§  List iterator

§  Enumeration

o  Generics in collections

o  Type diamond rule or Diamond operator     



Annotations



o  What is an annotation

o  Benefits of using annotations is our program

o  Types of annotations



I/O Streams



o  What is a stream

o  Working with files

o  What is Serialization

o  What is Deserialization

o  What is transient keyword

o  What is marker interface

o  instanceof operator

Destructors

Garbage Collector

Static blocks

Initializer blocks