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 17 pages
Exam (elaborations)

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

Document preview thumbnail
Preview 3 out of 17 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. Low-level language
B. High-level programming language
C. Hardware
D. Database
Answer: B
Rationale: Java is a high-level language.

2. Java was developed by:
A. Microsoft
B. Sun Microsystems
C. Google
D. IBM
Answer: B
Rationale: Created by Sun Microsystems.

3. Java is:
A. Interpreted only
B. Compiled and interpreted
C. Hardware language
D. Machine code
Answer: B
Rationale: Uses compiler and JVM.

4. Java runs on:
A. Windows only
B. JVM (Java Virtual Machine)
C. BIOS
D. Hardware only
Answer: B
Rationale: JVM enables portability.

5. Java is platform independent because of:
A. OS

, B. JVM
C. CPU
D. Compiler only
Answer: B
Rationale: Write once, run anywhere.

6. Java file extension is:
A. .py
B. .java
C. .js
D. .c
Answer: B
Rationale: Source code files.

7. Java bytecode is:
A. Human code
B. Intermediate code executed by JVM
C. Hardware code
D. OS code
Answer: B
Rationale: Compiled output.

8. main() method is:
A. Optional
B. Program entry point
C. Loop
D. Class
Answer: B
Rationale: Execution starts here.

9. Java is case-sensitive:
A. False
B. True
C. Sometimes
D. Never
Answer: B
Rationale: Case matters.

10. Class in Java is:
A. Variable

, B. Blueprint of objects
C. Function
D. Loop
Answer: B
Rationale: Object template.

11. Object is:
A. Blueprint
B. Instance of class
C. Method
D. Variable
Answer: B
Rationale: Real-world entity.

12. Constructor is used to:
A. Destroy object
B. Initialize object
C. Loop program
D. Print output
Answer: B
Rationale: Setup object state.

13. Default constructor:
A. Has parameters
B. No parameters
C. Returns value
D. Is static
Answer: B
Rationale: No arguments constructor.

14. this keyword refers to:
A. Class
B. Current object
C. Loop
D. Method
Answer: B
Rationale: Current instance reference.

15. Java supports OOP:
A. False

Document information

Uploaded on
June 22, 2026
Number of pages
17
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