Month: September 2018
Singleton class Explained
Singleton is a design pattern. A singleton class is a class for which only one object can be created. You […]
Difference between Break and Continue statement
Both the break and continue statements are used to change the fliw of executionin Java loops. However they differ in […]
Method Overloading Vs Method overridding
In this blog post, I will be explaining the difference between method overloading and method overidding. What is method […]
How to read input from the user in Java
This blog post demonstrates how to read a user’s input in Java. You can use the following code snippet: […]
System.out.println explained
In this blog post, I will be explaining the System.out.println statement which is the first statement you will come across […]
Static keyword explained
In this blog post, I will be explaining Java’s static keyword. What is the static keyword? There will be times […]
Difference between an abstract class and interface in Java
Another commonly asked interview question is to explain the difference between an abstract class and an interface. So in this […]
What is the final keyword in Java?
A very common interview question is to ask about the final keyword and what it means when it is used […]