Object Oriented Programming in Java 2021
Group B
AI is thinking...
Attempt any SIX questions.
AI is thinking...
2. Explain features of Object oriented concept in detail.
AI is thinking...
3. What is a continue statement? Write a program in java that displays the sum of odd integers of an array.
AI is thinking...
4. What is parameterized constructor? Explain with an example.
AI is thinking...
5. Explain method overloading in java with proper example.
AI is thinking...
6. What is the use of 'this' and 'super' keyword? Explain with examples.
AI is thinking...
7. Defined exception. How exceptions are handled in java? Explain with a proper example.
AI is thinking...
8. Write short notes on(Any Two):
a) Interface b) Access modifiers c) JDBC
AI is thinking...
Group C
AI is thinking...
Attempt any TWO questions.
AI is thinking...
9. a) Define inheritance. Explain the use of "extends" keyword in java.
b) What is an abstract class? Explain its use with an example.
AI is thinking...
10. a) List and explain any five String methods used in Java with examples.
b) Differentiate between byte stream and character stream.Write a program to copy the content of a file to another file using streams.
AI is thinking...
11. a) Create the following GUI form in java that checks a number entered in the text box is even or odd.
b) Differentiate AWT with swing. Explain any two layout management in Java.
AI is thinking...