Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

JAVA PROGRAMMING EXAMINATION QUESTIONS AND CORRECT ANSWER WITH EXPLANATION GRADED A+ STUDY GUIDE

Document preview thumbnail
Preview 3 out of 19 pages

JAVA PROGRAMMING EXAMINATION QUESTIONS AND CORRECT ANSWER WITH EXPLANATION GRADED A+ STUDY GUIDE

Content preview

JAVA PROGRAMMING EXAMINATION QUESTIONS AND
CORRECT ANSWER WITH EXPLANATION GRADED A+
STUDY GUIDE SOUTHERN NEW HAMPSHIRE UNIVERSITY
1. Java is a:
A. Programming language
B. Hardware device
C. Operating system
D. Database only
Answer: A
Rationale: Java is a high-level programming language.

2. Java was developed by:
A. Sun Microsystems
B. Microsoft
C. Apple
D. IBM only
Answer: A
Rationale: Java was created at Sun Microsystems.

3. Java is known as:
A. Platform-independent language
B. Hardware language
C. Machine-only language
D. Browser only
Answer: A
Rationale: Java runs on any JVM platform.

4. JVM stands for:
A. Java Virtual Machine
B. Java Variable Method
C. Joint Virtual Module
D. Java Verified Model
Answer: A
Rationale: JVM executes Java bytecode.

5. Java source file extension is:
A. .java

, B. .py
C. .c
D. .exe
Answer: A
Rationale: Java code is saved as .java.

6. Java bytecode is executed by:
A. JVM
B. Compiler only
C. Browser
D. Hardware only
Answer: A
Rationale: JVM runs bytecode.

7. Java compiler converts code into:
A. Bytecode
B. Machine code directly
C. Images
D. Text files
Answer: A
Rationale: Javac produces bytecode.

8. JDK stands for:
A. Java Development Kit
B. Java Data Kernel
C. Java Design Kit
D. Joint Development Kit
Answer: A
Rationale: JDK includes tools for Java development.

9. JRE stands for:
A. Java Runtime Environment
B. Java Run Engine
C. Java Resource Executor
D. Java Runtime Editor
Answer: A
Rationale: JRE runs Java programs.

10. Java is:
A. Object-oriented

, B. Procedural only
C. Functional only
D. Hardware language
Answer: A
Rationale: Java supports OOP.

11. Class in Java is:
A. Blueprint of object
B. Variable
C. Function only
D. Loop
Answer: A
Rationale: Defines object structure.

12. Object is:
A. Instance of a class
B. Function
C. Variable only
D. File
Answer: A
Rationale: Created from class.

13. Method is:
A. Function inside class
B. Variable
C. Object only
D. File
Answer: A
Rationale: Performs actions.

14. main() method is:
A. Program entry point
B. Loop function
C. Class name
D. Variable
Answer: A
Rationale: Execution starts here.

15. public keyword means:
A. Accessible everywhere

Document information

Uploaded on
June 22, 2026
Number of pages
19
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$21.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
teachme2expert
4.9
(5510)
Sold
1356
Followers
542
Items
7482
Last sold
2 days ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions