You are on page 1of 1

Java Assignment 1 Covers: Basics of Java Theory Questions 1. 2. 3. 4. 5. 6. When was Java introduced?

Give a detailed description about the history of Java. List down the various technologies under which Java can be studied. What are the characteristics/buzzwords of Java? What are Applets? List the various versions and editions of Java. What are the software requirements of Java? List down names of some of the rich editors/IDEs of Java. 7. What does PATH variable do? How to set PATH for Java? 8. What should be the extension of a Java file? What steps should be taken to make OS aware with the Java extension, and when to do that? 9. How is byte code different from object code? 10. What is JVM and JRE? 11. What is Javas CLASSPATH variable and how it is used? 12. What is the purpose of Projects, Files, Classes, Services, Palette, Properties, Navigator and Inspector Window in NetBeans. Practical Questions 1. Create a Java Application and write a Program that displays Hello World on the Screen. 2. Write a Program that displays your name on screen within double quotes in the previously created project and set it as the main class. 3. Write a Program that accepts 2 numbers and display their sum, product, difference, and quotient of the two numbers and execute it without setting it as the main class. 4. Write a Program that accepts a String by your name and display it on the screen. 5. Write a Program that accepts a float variable by radius and display the area and circumference. 6. Write a Program that accepts width and height of a Rectangle and display its area and perimeter. 7. Write a Program that displays a box, an oval, an arrow and a diamond. 8. Write a Program that accepts principle, rate and time and display simple and compound interest. 9. Write a Program that accepts and displays your name, address and phone on the screen. 10. Write a Program that accepts a float variable called centigrade and convert it to Fahrenheit.

www.vedisoft.com

Software Consultancy, Development and Training

You might also like