Method overriding means defining a method with the same name and same arguments in a child class…

Java ConceptsA collection of 39 posts
What is a constructor? A constructor in java is a special method which has the same name…
What is overloading Overloading means creating with the same name but different arguments.Arguments may differ in number…
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 java method Suppose there are a few lines of code which need to be…
What is abstract class? An abstract class in java is just like a normal class with a…
What is a clone A clone is an exact copy of something. Object cloning is required when…