REPL - JShell
REPL - Java JShell
Start JShell
Save and Load History in jshell
Getting Started with Jshell aka Java REPL
Few More commands from jshell
Keywords
Keywords
Variables
Variables in Java
Variables Stages
Types of Variables in java
Variable types based in Declaration Place
Static variables
Non Static variables /Instance
Datatypes
Java Data Types
Data types Architecture in Java
Integers
Floating-Point Types
Characters in java
Booleans
Reference Data Types aka Objects
Operators
Operators in Java
Arithmetic operators in Java
Comparison Operators in java
Assignment Operators in Java
Logical Operators in Java
Java Unary Operators
Ternary Operator in Java
index Operator in Java
String
Strings in java
String Class in Java
What is String pool :
Compare Strings
Useful methods in String class
Facts about Strings (not String Class) in Java
StringBuffer and StringBuilder
Strings are Immutable, but are we sure ? :
Conditional Statements
Conditional Statements in Java
if condition in Java
Switch case in Java
Differences between Switch case and If conditions
Loops
Loops in Java
While Loop in Java
do-while loop in Java
For Loop in java
For Each loop in java
Infinite Loops
Polymorphism
Polymorphism in Java
Rules for Method Overloading
Type Casting in Method Overloading
Method Overriding
Dynamic method dispatch in overriding
Encapsulation
Encapsulation in Java
Abstraction
Abstraction in Java
Interface in Java
Abstract Class
Exceptions
Exceptions in java
Exception Architecture in Java
Difference between Error and Exception
Methods Present in Exceptions
Try..Catch..Finally
Purpose of try..catch..finaly
Exact Exception in the catch block
Multiple catch blocks with try block
Nested try..catch..finally blocks
throws keyword in Exceptions
throw keyword in Exception
Difference between throw and throws keywords
Collections
Collections in Java
Outline of the Collections Framework
Frequently Asked Questions
Collection Interface
Collection Interface
Volatile
Volatile
Multi-CPU scenario
Full volatile Visibility Guarantee
JVM and CPU make re-Ordering
The Java volatile Happens-Before Guarantee
JVM much faster than volatile, so Volatile is Not Always Enough
Few Common Question on Volatile
Default Methods with Interface
Default Methods with Interface in Java
The Need for Default methods in Interfaces
Calling default methods
Override default method of Interface
Default methods cause a 1/2 Diamond problem in Interface
Private Methods with Interface
Private Methods with Interface in Java
The need for Private methods in java Interfaces
private static methods in Interfaces of Java
Streams
Streams in Java
Stream method in java
filter in the stream of Java
map method in streams of Java
collect() method in Java streams
sorted() method in Java Stream
min() and Max() in stream of Java
HashMap
HashMap in Java
Create a HashMap
Constructors of HashMap
Methods Present in HashMap in Java
Iterate through HashMap
Let me remind you
Static keyword
Static keyword in Java
Static variables in Java
Static methods
static block in Java
Static classes
Frequently asked questions
Arrays
Arrays in Java
Types of Arrays in Java
Methods and Operations on Arrays in java
Jagged Array in Java
Anonymous Array in Java
Copy Java Arrays
Accepting and returning Arrays from methods
Find the minimum and maximum values in an array
Converting Arrays to Strings With Arrays.toString()
Inheritance
Inheritance in Java
Single Inheritance :
Multi-level Inheritance :
Multiple Inheritance :
Hybrid Inheritance :
Diamond problem and Why Java Does not have it
Upcasting & Downcasting
Constructors
Classes in Java
Object Creation
Constructors in Java
Constructor Overloading
Date Time - Joda API
Joda API in Java 8 DateTime API
LocalDate and LocalTime in java
Date time object for a particular date
Difference between dates/ Period Class
Time Zones in Joda API
Format the date with java 8 Joda Time API
Double Colon Operator
:: Double Colon Operator
Double Colon Operator
:: Double Colon Operator
HashMap
HashMap in Java
Create a HashMap
Constructors of HashMap
Methods Present in HashMap in Java
Iterate through HashMap
Let me remind you
Tools
Topics
Home
Java
Python
Kotlin
Selenium
Rust
Arduino
AWS Dumps
CompTIA Dumps
Mock Tests
Videos