Category Java

Interface Static Method in Java 8

With the release of Java 8, we can also define static method within an interface. A static method within an interface is explicitly defined with a static keyword and method body. It works nearly the same as static methods defined…

Default Method in Java 8 Interface

Prior to the release of Java 8, an interface can only have abstract methods. All the methods of interfaces are public and abstract by default. With the release of Java 8 version, authors of Java have added a new type…

What is Bytecode in Java

Java Bytecode

Bytecode in Java is a highly optimized, platform-independent set of instructions generated by the Java compiler (javac) and stored in a .class file. In simple words, bytecode is an intermediate, platform-independent set of binary code generated by the Java compiler…

What is JDK (Java Development Kit) in Java

Main components of Java Development Kit (JDK) in Java

In this tutorial, we will discuss what is JDK (Java Development Kit) in Java but before going to discuss it, we will understand about Java platform briefly. Java Platform (Ecosystem) A platform is a combination of hardware and software that…

Features of Java Programming Language (Java Buzzwords)

Diagram showing key features of Java programming language including platform independence, object-oriented, robust, secure, multithreaded, portable, and high performance.

In this tutorial, we will learn about all the basic and advanced features (also known as buzzwords) of Java programming language. We know that Java is an object-oriented and platform-independent language. In addition to these two popular buzzwords (features), there…