What is Java?
Java is a programming language which produces software that can be used for gaming, web, business, desktop, database, and other applications. It exhibits most of its syntax from C/C++.
Java is a simple, fast, object-oriented, robust, secure, multi-threaded, and platform-independent programming language. Java platform consists of several programs, each of which provides a portion of its overall capabilities.
Basically, Java consists of two portions-
Code consists of source code and byte code. Source Code is what a programmer writes in the text editor, then Java Compiler compiles that and produces byte code.
Java platform includes an execution engine, a compiler, and a set of libraries that help to develop programs.