Ques 1 Introduction
JRE Stands for_____?
The Java Runtime Environment (JRE) provides the necessary libraries and JVM to run Java applications.
Ques 2 Introduction
What makes java platform independent?
Java is platform independent because it compiles code into bytecode, which can be executed on any system with a Java Virtual Machine (JVM). This allows Java programs to run on any device or operating system without modification.
Ques 3 Introduction
Which method executes first in Java Programming?
The main() method is the entry point of any Java program. When a Java application is executed, the JVM calls the main() method first to start the program.
Ques 4 Introduction
Which environment variable is used to set the path in Java?
The JAVA_HOME environment variable is used to specify the directory where the JDK is installed. It helps in setting the path for Java-related tools and libraries.