Java

Keywords in Java

Java keywords known as reserved words. Keywords are particular words which acts as a key to a code. These are predefined words by Java so it cannot be used as a variable or object name. List of Java Keywords Java has a set of keywords that are reserved words that cannot be used as variables, methods,

Keywords in Java Read More »

Interfaces in Java

An INTERFACE IN JAVA programming is defined as an abstract type used to specify the class behavior, just like protocols do. A Java interface contains static constants and abstract methods. A class can implement multiple interfaces. In Java, interfaces are declared using the interface keyword. All methods in the interface are implicitly public and abstract. implements Keyword in Interface Like abstract

Interfaces in Java Read More »