Java course at TCCI
When method of child class redefines the method of parent class then it is called method overriding in Java. Overriding is done so that a child class can give its own implementation to a method which is already provided by the parent class. In this case the method in parent class is called overridden method […]
Abstract means something, which is in thoughts but not it exists in reality. It is like that we know that what should be done, but we don’t know how it would be done. Take an example, there is a ‘Shape’ class which contains a method ‘area()’ but we cannot implement area() method here as we […]
Inner class means one class inside another class or we can say that one class is member of another class. Such class is known as nested class. Syntax: class OuterClass { // … class NestedClass { // … } } How to access inner class? To access the inner class, create an […]
In simple words Java FX is a Framework built on a Java core for visual effect programming. It is the replacement for SWING. JFX actually uses a scripting language called Java FX Script that is structurally similar to JavaScript, Actionscript and other EX4-type languages. JFX provides a library (or set of libraries) which contain classes, objects, and […]
Definition: An abstract class is a class that is declared abstract – it may or may not contain abstract methods. The keyword “abstract” is used to create an abstract class just before the class keyword in the class declaration. In simple terms, an interface is a collection of abstract methods that is used to specify […]