Key Concepts Flashcards
What is Java?
Java is one of the most popular programming languages. It is classed-based, object-oriented and easy to learn.
It is also an execution platform.
Why Java is so popular?
1 - It is platform independent which means I program compiled in java can run in any OS. (Write Once Run Anywhere)
2 - It is user-friendly.
3 - It is used by a lot of big companies world-wide.
Wht are the Advantages of Java over other programming languagues?
1 - Static types (Easier to read and provide better IDE support)
2 - Ecosystem
3 - Strictness (Java does not forgive you)
4 - Plataform independently
5 - It has a good built-in library
6 - Concurrency features.
What is JDK?
JDK is a software development environment used for making applets and Java applications. The full form of JDK is Java Development Kit.
What is JRE?
JRE is a piece of a software which is designed to run other software. It contains the class libraries, loader class, and JVM. In simple terms, if you want to run Java program you need JRE.
What is JVM?
JVM is an engine that provides a runtime environment to drive the Java Code or applications. It converts Java bytecode into machine language. JVM is a part of Java Runtime Environment (JRE). It cannot be separately downloaded and installed. To install JVM, you need to install JRE. The full form of JVM is Java Virtual Machine.
What is the classpath?
Classpath is a parameter in the Java Virtual Machine or the Java compiler that specifies the location of user-defined classes and packages.