Author: Rabecca Fatima
-
JavaNon-access modifiers
Non-access modifiers provide the JVM with information about a class, method, or variable’s characteristics. In Java, there are seven different…
May 17, 2022
-
JavaInheritance in Java
In Java, inheritance is a mechanism by which one object inherits all of its parent’s properties and behaviors. It is…
May 19, 2022
-
JavaAssociation, Composition & Aggregation in Java
Association: Association is a relation between two separate classes which establishes through their Objects. One-to-one, one-to-many, many-to-one, and many-to-many associations…
May 21, 2022
-
JavaMethod Overloading
Method Overloading in Java: Method Overloading occurs when a class has multiple methods with the same name but different parameters….
May 21, 2022
-
JavaMethod Overriding in Java
In Java, method overriding occurs when a subclass (child class) has the same method as the parent class. Overriding is…
May 21, 2022
-
JavaRuntime Polymorphism
Polymorphism: Polymorphism is a Java concept that allows us to perform a single action in multiple ways. Polymorphism is made…
May 25, 2022
-
JavaDifference between method overloading and method overriding
In Java, there are numerous distinctions between method overloading and method overriding. The following is a list of the differences…
May 25, 2022
-
Javathis keyword in Java
this is a Java keyword that refers to the current object of a class. Uses of this keyword: The following…
May 27, 2022
-
JavaGarbage Collection in Java
Garbage collection is the method through which Java programs maintain their memory automatically. working: Java programs are compiled into bytecode…
May 28, 2022
-
JavaStatic keyword in Java
In Java, the static keyword is mostly used to control memory. It is also used to share a class’s identical…
May 28, 2022
-
JavaFinal keyword in Java
In Java, the final keyword is used to restrict the user. The final keyword in Java can be used in…
May 28, 2022
-
Javainstanceof Operator in Java
The instanceof operator is used to determine whether or not a reference variable contains a specific type of object reference….
June 3, 2022