How to work with interfaces
The syntax for declaring an interface public interface InterfaceName { type CONSTANT_NAME = value; // declares a const field […]
Read More →The syntax for declaring an interface public interface InterfaceName { type CONSTANT_NAME = value; // declares a const field […]
Read More →An abstract class is a class that can't be instantiated. You can not create an object directly from an […]
Read More →The final key word can be used on the following: classes methods parameters You can use the keyword whenever […]
Read More →To test if two objects point to the same space in memory, you can use the equals mthod of […]
Read More →The syntax for creating subclasses: Description Syntax To declare a subclass public class SubclassName extends SuperClassName{} To call a […]
Read More →Keyword Description private Available within the curent class. public Available to classes in all packages. protected Available to classes […]
Read More →Methods of the Object class: Method Description toString() Returns a string object containing the class name, followed by the […]
Read More →