Monday, January 9, 2023

Cs v sem java important questions

 Unit 1:

A. Question 

1. Explain Java essentials( Java features)

2. What is JVM? Explain it

3. Explain datatypes  in Java.

4. Explain type casting in Java

5. Explain loops in Java

(Or) B question 

6.explain method overloading in Java

7. What is constructor? Explain the types of constructors( copy constructor)

8. Explain Difference befference between static and instance members 

Unit 2: 

A. Question 

1. Explain command line arguments 

2. What is inheritance? Explain types of inheritances

3. What is interface? Explain multiple inheritance with a program

4. Explain method overriding 

Question b:

5. What is package? Explain creating packages.

6. What are system API Packages 

7. Explain wrapper classes

8. What is exception? Explain exception handling mechanism 

Unit 3:

Question A

1. What is thread? Explain creating of threads 

2. Explain thread life cycle 

3. Explain synchronization 

Question B

4. Explain io stream classes

5. Explain scanner classes

Unit -4:

Question A

1. What is AWT and explain AWT components 

2. What is applet? Explain applet life cycle 

3. Explain swing? Explain Difference between swing and AWT

Question B

4. What is JDBC? Explain types of JDBC 

5. Explain database handling using JDBC