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 not a characteristic of Java?
A). Static Typing
B). Dynamic Typing
C). Strongly Typed
D). Weakly Typed
What is the ownership of Java?
A). Oracle
B). Microsoft
C). Google
D). Apple
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
Which of the following is a benefit of Java's object-oriented nature?
A). Code Reusability
B). Code Duplication
C). Code Complexity
D). Code Confusion
What is the role of garbage collection in Java?
A). Memory Management
B). File Compression
C). Code Compilation
D). Error Handling
Which of the following statements about Java's security is true?
A). Java has a robust security model
B). Java is not secure
C). Java is highly vulnerable to attacks
D). Java doesn't support security features
How many devices run Java globally?
A). More than 3 billion
B). More than 1 billion
C). More than 5 billion
D). More than 2 billion
What is one of the reasons for Java's popularity?
A). Ease of Learning
B). Complexity
C). Limited Community Support
D). Proprietary License