0% found this document useful (0 votes)
7 views1 page

Java Programming Basics and Tools

The document provides a series of short answer questions related to Java programming, covering topics such as its object-oriented features, applications, and the roles of JDK, JRE, and JVM. It also addresses the benefits of learning Java and specific tools within the JDK. A reference to the Java Language Specification is included for further reading.

Uploaded by

phil2014
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Java Programming Basics and Tools

The document provides a series of short answer questions related to Java programming, covering topics such as its object-oriented features, applications, and the roles of JDK, JRE, and JVM. It also addresses the benefits of learning Java and specific tools within the JDK. A reference to the Java Language Specification is included for further reading.

Uploaded by

phil2014
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to java programming

Java short answer questions

1. What type of programming language is Java?


2. Name two object-oriented features that Java provides, similar to C++.
3. Why is Java considered a dominant programming language?
4. Mention two applications where Java can be used.
5. What career benefits does learning Java offer
6. What is the main role of the Java compiler in JDK?
7. List any three tools included in the JDK.
8. Why does a programmer need JDK instead of JRE alone?
9. What is the purpose of the tool javap in JDK?
10. Which JDK tool is used for generating documentation?
11. What does the term Write Once, Run Anywhere (WORA) mean in Java?
12. What is the role of JVM in executing Java programs?
13. How does the JVM differ from compilers in other programming languages?
14. What is the function of the Just-in-Time (JIT) compiler in JVM?
15. Name any three components included in the JVM.
16. What is the primary function of JRE?
17. How does JRE differ from JDK?
18. Why is JRE essential for running Java applets?
19. Mention two package classes included in JRE.
20. List any two types of files found in JRE.

Reference

Gosling, J., Joy, B., Steele, G., & Bracha, G. (2014). The Java Language Specification (Java SE 8
Edition). Addison-Wesley.

You might also like