DesaiankitaInheritance in javaInheritance in Java is an important concept of OOP(Object Oriented Programming). It is the mechanism in java by which one class is allow to…Aug 17, 2020Aug 17, 2020
DesaiankitaScanner class in javaThe Scanner class is mainly used to get the user input, and it belongs to the java.util package. In order to use the Scanner class, you can…Aug 10, 2020Aug 10, 2020
DesaiankitaStatic keywordsIn Java, static keyword is mainly used for memory management. It can be used with variables, methods, blocks and nested classes.It is a…Aug 10, 2020Aug 10, 2020
DesaiankitaConstructor in javaConstructor is a block of code that initializes the newly created object.Aug 1, 2020Aug 1, 2020
DesaiankitaJava VariablesA variable is a container which holds the value while the java program is executed.Jul 9, 2020Jul 9, 2020
DesaiankitaDifference between object and classObject is an instance of a class.May 17, 2020May 17, 2020