Java 1 Mark
Java 1 Mark
■JVM (Java Virtual Machine) is a very important part of both JDK and JRE because it is
contained or inbuilt in both. Whatever Java program you run using JRE or JDK goes into JVM
and JVM is responsible for executing the java program line by line, hence it is also known as
an interpreter.
■JDK (Java Development Kit) is a Kit that provides the environment to develop and
execute(run) the Java program. JDK is a kit(or package) that includes two things
Development Tools(to provide an environment to develop your java programs)
■ JRE (to execute your java program)
■JRE (Java Runtime Environment) is an installation package that provides an environment
to only run(not develop) the java program(or application)onto your machine. JRE is only used
by those who only want to run Java programs that are end-users of your system.
7.What is Unicode?
The Unicode Standard is the universal character representation standard for text in
computer
processing. Unicode provides a consistent way of encoding multilingual plain text making it
easier to exchange text files internationally.
ASCII defines 128 characters, which map to the numbers 0–127. Unicode defines (less than)
2^21 characters, which, similarly, map to numbers 0–2^21
The Unicode Standard provides a unique number for every character, no matter what
platform, device, application or language.
10.What is JIT?
The Just-In-Time (JIT) compiler is a component of the Java™ Runtime Environment that
improves the performance of Java applications at run time. Java programs consists of classes,
which contain platform-neutral bytecodes that can be interpreted by a JVM on many different
computer architectures.