Object Oriented Programming in Java 2020
Group B
AI is thinking...
Attempt any SIX questions.
AI is thinking...
2. Define OOP. Write the characteristics of OOP language.
AI is thinking...
3. Explain the operators available in Java programming.
AI is thinking...
4. Define loop. Write a java program to print first n prime numbers.
AI is thinking...
4. Differentiate between abstract class and interface with suitable example.
AI is thinking...
6. Define access modifier. Explain access modifiers in java with examples.
AI is thinking...
7. Define exception. Explain exception handling mechanism in java with example.
AI is thinking...
8. Write short note on (Any Two):
a) final keyword b) Collection class c) JDBC
AI is thinking...
Group C
AI is thinking...
Attempt any TWO questions.
AI is thinking...
9. a) Write a program to create and use the java package.
b) Define thread. Explain the life cycle of thread.
AI is thinking...
10. a) Write a program to sort name of any five cities in ascending order.
b) Define polymorphism. How do we achieve polymorphism in java explain with example?
AI is thinking...
11.a) Differentiate between java AWT and java Swing. Explain the different types of layout managers in java GUI programming.
b) Write a java GUI program to calculate square of entered number.
AI is thinking...