Category: Java
-
Method Overloading in Java
Method Overloading in Java Method Overloading in Java. In this Article i will explain what is an overloading in Java by stepping through the sample program below In the sample program below, first I will create a class named “overloadMain ” .Then i will create 2 Method with same Method name , but different number of parameter. There Are 3…
-
Interface in Java
Interface in Java Interface in Java. In this Article i will explain what is an interface by stepping through the sample program below In the sample program below, first I will create 2 interface class named “animalNoise, animalMamal ” .Then i will create a class call “doggy” and then implement the interface “animalNoise, animalMamal ” into the class…
-
Abstract in Java
Abstract in Java Abstract in Java. In this Article i will explain what is Abstract by stepping through the sample program below Abstract Class/ Abstract Function is to set a based foundation of the Parent Class, to ensure that all the child Class must implement all the abstract method reside in the Parent Class. In…
-
Access Modifiers in Java
Access Modifiers in Java Access Modifiers in Java. In this Article i will explain what is Access Modifiers by stepping through the sample program below In the sample program below, first I will create a main class named “car ” .Then i will create a class call “accessModifier” to access the class ” car…
-
Inheritance in Java
Inheritance in Java Inheritance in Java. In this Article i will explain what is inheritance Java programming by stepping through the sample program below In the sample program below, first I will create a main class named “car ” . This main class will be inherited by the class which i will be creating call…