Contents

Java

  • Introduction to Java
  • C++ vs Java vs Python
  • Just In Time Compiler
  • Difference between JIT and JVM in Java
  • Difference between Byte Code and Machine Code
  • How is Java platform independent?
  • Java Basic Syntax
  • Java Hello World Program
  • Primitive data type vs. Object data type in Java with Examples
  • Identifiers
  • Java Identifiers
  • Operators in Java
  • Java Variables
  • Scope of a Variables
  • How to Take Input from User in Java
  • Scanner Class in Java
  • Ways to read input from console in Java
  • Java System.out.println()
  • Formatted Output in Java using printf()
  • Java Variables
  • if statement with Examples
  • if-else
  • if-else-if ladder with Examples
  • Loops in Java
  • while loop
  • do-while loop
  • For-each loop
  • Continue Statement
  • Break statement
  • Usage of
  • Break keyword
  • return keyword
  • Copy Constructor
  • Java Unary Operator
  • Java Assignment Operators
  • Java Relational Operators
  • Java Logical Operators
  • Java Ternary Operator
  • Arrays class
  • Multidimensional Arrays
  • Jagged Array
  • Final Arrays
  • Reflection
  • Array Class
  • util.Arrays vs reflect.Array
  • Copy Constructor
  • Java Naming Conventions
  • Access Modifiers in Java
  • Java Constructors
  • Inheritance in Java
  • Abstraction in Java
  • Encapsulation in Java
  • What are Interfaces in Java?
  • ‘this’ reference in Java
  • Inheritance and
  • Constructors
  • Multiple Inheritance
  • Interfaces and
  • Inheritance in Java
  • Association, Composition and Aggregation in Java
  • Abstraction
  • Abstract Class in Java
  • Control Abstraction in Java with Examples
  • Difference Between Data Hiding and Abstraction in Java
  • Encapsulation
  • Difference between Abstraction and Encapsulation
  • Difference between Inheritance and Polymorphism
  • Dynamic Method Dispatch or Runtime Polymorphism
  • Difference between Compile-time and Run-time Polymorphism
  • Copy Constructor
  • Constructor Overloading
  • Constructor Chaining
  • Private Constructors and Singleton Classes
  • Methods in Java
  • Abstract Method
  • Overriding 
  • Method Overloading
  • Memory Management
  • Stack vs Heap Memory Allocation
  • How many types of memory areas are allocated by JVM?
  • Garbage Collection
  • Types of JVM Garbage Collectors in Java with implementation details
  • Memory leaks
  • Java Virtual Machine (JVM) Stack Area
  • Java Basic Syntax
  • Character Class in Java
  • Java.Lang.Byte class in Java
  • Java.Lang.Short class in Java
  • Java.Lang.Long class in Java
  • Java.Lang.Float class in Java
  • Java Keywords
  • Important Keywords in Java
  • Super Keyword in Java
  • final Keyword in Java
  • static Keyword in Java
  • enum in Java
  • transient keyword in Java
  • volatile Keyword
  • final, finally and finalize in Java
  • Public vs Protected vs Package vs Private Access Modifier
  • Access and Non Access Modifiers
  • Understanding Classes and Objects in Java
  • Singleton Method Design Pattern in Java
  • Object Class in Java
  • Inner Class in Java
  • Throwable Class
  • How to Create a Package in Java?
  • Java.util Package in Java
  • Java.lang package in Java
  • Java.io Package in Java
  • Types of Exception in Java
  • Checked vs Unchecked
  • Exceptions in Java
  • Java Try Catch Block
  • Flow control in try catch finally in Java
  • throw and throws in Java
  • User-defined Custom Exception
  • Chained Exceptions in Java
  • Lifecycle and States of a Thread in Java
  • Java Thread Priority in Multithreading
  • Main thread 
  • Java.lang.Thread Class
  • Runnable interface.
  • Naming a thread and fetching name of current thread
  • What does start() function do in multithreading in Java?
  • Importance of Thread Synchronization in Java
  • Method and Block Synchronization in Java
  • Lock framework vs Thread synchronization in Java
  • Difference Between Atomic, Volatile and Synchronized in Java
  • Deadlock in Java Multithreading
  • Deadlock Prevention And Avoidance
  • Difference Between Lock and Monitor in Java Concurrency
  • Reentrant Lock in Java
  • Java.io.File Class in Java
  • Java Program to Create a New File
  • Different ways of Reading a text file in Java
  • Java Program to Write into a File
  • Delete a File Using Java
  • File Permissions in Java
  • FileWriter Class in Java
  • Java.io.FileDescriptor in Java
  • Java.io.RandomAccessFile Class Method | Set 1