What is comparator java.util.Comparator is an interface in java used for sorting or ordering of collections such…
Java ConceptsA collection of 29 posts
Instance variables Instance variables belong to an object and each object has its own copy of instance…
What is overloading Overloading means creating with the same name but different arguments. Arguments may differ in…
Java main method Anyone who is familiar with java must be knowing main method. Whenever a class…
What is access specifier Access specifiers or access modifiers control the visibility of components of a class…
Inner class meaning As its name states, a class inside another class is called an Inner Class….
What is a method Suppose there are a few lines of code which need to be used…
What is a clone A clone is an exact copy of something. Object cloning is required when…
Meaning of @Override annotation @Override annotation is used over methods defined in a class. When this annotation…