WorksheetsExploring Java: History and Features
Total questions: 10
Worksheet time: 5mins
What year was Java first released?
1990
2000
1998
1995
Who is the creator of the Java programming language?
Dennis Ritchie
James Gosling
Bjarne Stroustrup
Guido van Rossum
What was the original name of Java?
Python
C++
Oak
JavaScript
What is the main feature of Java's platform independence?
Java code must be compiled for each platform separately.
Java requires specific hardware to execute its programs.
Java bytecode can run on any platform with a compatible JVM.
Java applications can only run on Windows operating systems.
What does JVM stand for in the context of Java?
Java Visual Machine
Java Version Manager
Java Variable Manager
Java Virtual Machine
What is the significance of the 'Write Once, Run Anywhere' principle in Java?
It limits Java applications to desktop environments only.
It restricts Java programs to specific operating systems.
It requires Java programs to be compiled for each platform separately.
It allows Java programs to be executed on any device with a JVM, ensuring cross-platform compatibility.
The JRE (Java Runtime Environment) contains:
a) Compiler & Development tools
b) JVM and class libraries
c) Only JVM
d) Only compiler
1. Which of the following is not a feature of Java?
a) Platform Independent
b) Object-Oriented
c) Pointer-based Memory Management
d) Robust
7. Which feature of Java allows execution of multiple tasks simultaneously?
a) Polymorphism
b) Multithreading
c) Inheritance
d) Encapsulation
3. Java EE (Enterprise Edition) is mainly used for:
a) Gaming applications
b) Desktop applications
c) Large-scale enterprise applications (banking, ERP, etc.)
d) Device drivers
