What is the Java Virtual Machine (JVM)?
A). Runtime Environment
B). Integrated Circuit
C). Compiler
D). Operating System
Which of the following statements about Java's licensing model is true?
A). Java is open-source and free to use
B). Java is proprietary and expensive
C). Java is open-source but requires a license fee
D). Java is proprietary but free to use
What is the default file extension for Java source files?
A). .java
B). .class
C). .jar
D). .exe
What advantage does Java offer for programmers familiar with C++ and C#?
A). Similar Syntax and Principles
B). Different Syntax and Principles
C). Limited Interoperability
D). No Advantage
Which of the following statements about Java's platform independence is true?
A). Java code can run on any platform
B). Java code runs only on Windows
C). Java code runs only on Linux
D). Java code runs only on macOS
How does Java facilitate code organization and reuse?
A). Object-Oriented Principles
B). Procedural Programming
C). Spaghetti Code
D). Copy-Paste Approach
Which of the following is a common use of Java?
A). Mobile Applications
B). Video Editing
C). Graphic Design
D). 3D Modeling
What makes Java suitable for web application development?
A). Robust Server-Side Technologies
B). Dynamic Content Generation
C). Scalability and Performance
D). All of the above
What is the ownership of Java?
A). Oracle
B). Microsoft
C). Google
D). Apple
What is the role of garbage collection in Java?
A). Memory Management
B). File Compression
C). Code Compilation
D). Error Handling