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

JAVA IMP Q - S

The document lists important short answer and essay questions related to Object-Oriented Programming through Java. Topics include command line arguments, constructors, inheritance, exception handling, and JDBC architecture. It serves as a study guide for students preparing for exams in Java programming.

Uploaded by

buppalaiah.svist
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)
29 views1 page

JAVA IMP Q - S

The document lists important short answer and essay questions related to Object-Oriented Programming through Java. Topics include command line arguments, constructors, inheritance, exception handling, and JDBC architecture. It serves as a study guide for students preparing for exams in Java programming.

Uploaded by

buppalaiah.svist
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
You are on page 1/ 1

OBJECT ORIENTED PROGRAMMING THROUGH JAVA

IMPORTANT QUESTIONS
SHORT ANSWER QUESTIONS

1. Write about Command Line Argument?


2. Write about Break and Continue Statements
3. What is break and continue statement?
4. What is Ternary operator?
5. What is Constructor, List the types of Constructors.
6. Define Static and Final Attributes
7. How can you assign one object to another object?
8. Write about attributes Final and Static.
9. Develop a Program to declare and Initialize an Array.
10. Discuss about Benefits of Inheritances
11. What is object Class?
12. What is Abstract Class?
13. What is Package? Write the syntax to define user define package
14. List the Package in Java SE.
15. What are the Access controls in Java?
16. Write about Multiple Catch Blocks.
17. What is the need of Multiple Threads in Java
18. Write about Thread States
19. Write about Methods for comparison of strings.
20. How can you create a new Thread?

ESSAY ANSWER QUESTIONS

1. List and Explain the Tokens in Java.


2. Explain Type Casting with an Example Program
3. List the various control statement. Explain any one control statement with the help of flowchart and
example program
4. Write a java program to read three numbers through the keyboard and find their sum and average.
5. What is Constructor? Explain the Types of constructors
6. Discuss about Static and Final Keywords with an example programs
7. In what way method overloading differs from overriding? Explain
8. What is constructor and how can you over loaded the constructors explain with example.
9. Write a program to perform Multi-level Inheritance in Java.
10. Explain the implementation of Interfaces in Java.
11. How can you implement Interface in your program explain with example.
12. What is inheritance? Write java program to demonstrate the single inheritance.
13. Discuss in briefly about wrapper classes, Auto boxing and Auto Unboxing
14. Explain the Blocks of Exception Handling
15. Give brief description about the role of wrapper classes in java.
16. Write and explain the role of exception handling mechanism in java.
17. What is thread, Explain Inter thread Communication
18. Explain in detail about JDBC Architecture.
19. Illustrate JDBC architecture with a neat sketch.
20. Write a JAVA program that creates threads by extending Thread class. First thread display “welcome
“every 1 sec, the second thread displays “hai” every 2 seconds and the third display “hello” every 3
seconds.

IMPORTANT QUESTIONS ALL THE BEST

You might also like