Skip to main content

Introduction to Java

Learn Introduction to Java (Java Basics, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

1. Introduction Java is a high-level, object -oriented, platform-independent programming language. You write code once in a .java file, the compiler turns it into bytecode , and the Java Virtual Machine ( JVM ) runs that bytecode on any operating system. It is statically typed and class based. The JVM checks the bytecode , interprets it, and then JIT -compiles (Just-In-Time compiles) the busy methods to native code.

More lessons in Java Basics