0% found this document useful (0 votes)
18 views

JAVA Question Bank 5sem

Uploaded by

meetpandit04
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

JAVA Question Bank 5sem

Uploaded by

meetpandit04
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Shri Ram College, Muzaffarnagar

Question Bank – Java Programming

Section - A
1. What is JVM?

2. Why java is called platform independent language?

3. Define the structure of java program.

4. What are Dynamic Web Pages?

5. What is token? Types of tokens.

6. Difference between class and object.

7. What are the use of Final and super keyword.

8. How vector is implemented in java?

9. What are the wrapper classes? Give the name of any five wrapper classes?

10. Java is strongly typed language. Comment on it?

11. Difference between method overloading and overriding.

12. What is abstract class?

13. Difference between applet and application programs.

14. Difference between process and thread.

15. Difference between AWT and swing.

16. What are Events, Event Source, and Event Listener.

17. What is Exception handling?

18. What is <meta> tag? Define any 3 attributes of this tag.

19. What are try and catch statement in exception handling?

20. What is layout manager? Give the name of different types of layout managers.

21. What is Socket? Define types of Sockets?


22. What are TCP and UDP?

23. Give the steps for establishing JDBC Connection.

24. Give the difference between JDBC and ODBC

25. What is web Container?

26. What is the function of GET method and POST method?

27. What are Stream and its types?

Section - B
1. Describe the various data types in java language in detail.

2. How we create array in Java? Give one example.

3. What is inheritance? In Java multiple inheritance is possible or not?

4. How Java is platform independent? Explain how memory management is achieved in


better way in Java?

5. How we create frames in AWT programming?

6. What is Adapter Class? How it is used in AWT programming?

7. Explain combo box with example.

8. Why we need connection pooling?

9. Discuss about various JDBC drivers. Give advantage and disadvantage of various drivers.

10. Describe the advantages of Servlet over CGI.

11. What is JSP? Differentiate between Java Servlet and JSP?

12. Define the life cycle of Servlet.

13. Define the life cycle of JSP?

14. Define the forms with example. Why we use it?


Section – C
1. What is Inheritance? Types of inheritance.

2. Define the life cycle of Applet and Thread.

3. What is package and what is the procedure for package implementation?

4. Define the interface and its implementation with example.

5. Explain the various components of AWT.

6. How to create menus in AWT? Write all the steps to create File menu.

7. Create a login form in AWT. Write the code to check the user name and password from
the database.

8. Create a student registration form to add new information, update and delete the student
information.

9. Create a Chat program using socket programming.

10. Define the Input Stream and Output Streams. Write a program to copy the contents of one
file into another.

11. What is Constructor? How it is differ from member function?

12. What is Event Delegation model? How it is better approach than other approaches.

13. Write HTML code for student registration form for CCS university, which should have at
least user name, password, address as a text field, country as a combo box, gender as a
radio button, hobbies as submit button. make your necessary assumption.

You might also like