Abstract class in Java
A class that is declared with abstract keyword, is known as abstract class in java. It can have
abstract and non-abstract methods (method with body).
Before learning java abstract class, let's understand the abstraction in java firs
Assertion is a statement in java. It can be used to test your assumptions about the program.
While executing assertion, it is believed to be true. If it fails, JVM will throw an error named
AssertionError. It is mainly used for testing purpose.
Abstract Windowing Toolkit (AWT):
Abstract Windowing Toolkit (AWT) is used for GUI programming in java.
AWT Container Hierarchy:
The Container is a component in AWT that can contain another components like buttons,
textfields, labels etc. The c
Final Keyword In Java
1. Final variable
2. Final method
3. Final class
4. Is final method inherited ?
5. Blank final variable
6. Static blank final variable
7. Final parameter
8. Can you declare a final constructor
The final keyword in java is used to res
Features of Java
1. Features of Java
3. Platform Independent
6. Architecture Neutral
8. High Performance
There is given many features of java. They are also kn
Array in JAVA
An array is a collection of variables of the same type. For instance, an array of int is a
collection of variables of the type int. The variables in the array are ordered and each have an
index. You will see how to index into an array later
Covariant Return Type
The covariant return type specifies that the return type may vary
in the same direction as the subclass.
Before Java5, it was not possible to override any method by
changing the return type. But now, since Java5, it is possible to
Difference between JDK, JRE and JVM
1. Brief summary of JVM
2. Java Runtime Environment (JRE)
3. Java Development Kit (JDK)
Understanding the difference between JDK, JRE and JVM is important in Java. We are having
brief overview of JVM here.
If you want t