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
- Getting Started with Java (Installation & Setup)
- Features of Java
- Difference between JVM, JDK, JRE
- Data Types and Variables
- Access Specifiers
- Operators in Java
- Control Statements in Java
- Jumping Statements in Java
- Looping Statements
- Packages
- Array in Java
- Array Program
- String in Java
- Constructor in Java
- Constructor Chaining
- Static Keyword
- Input and Output Stream in Java
- Scanner in Java
- Serialization in Java
- Properties File in Java
- Final Keyword
- Wrapper Class
- Methods in Java
- Return Object from Method
- Different way to return to the method in java.
- This and Super Keywords