OOP in Java 2020 - BCA(TU) Old Questions

2 years ago
OOP Java

Group B

Attempt any Six question

2. Define OOP. Write the characteristic of OOP Language [ 1 + 4 ]

3. Explain the Operators available in Java Programming

4. Define Loop. Write a java Program to print first n prime numbers.

5. Differentiate between abstract class and Interface with suitable example

6. Define access modifier. Explain access modifiers in java with example

7. Define exception. Explain exception handling mechanism in java with example

8. Write short note on (any Two):
a) Final Keyword
b) Collection class
c) JDBC

Group C

Attempt any Two question

9. a. Write a program to create and use java package.
b. Define thread. Explain the life cycle of thread

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

11. a Differentiate between Java AWT and Java Swing. Explain different type of layout manager in Java GUI Programming
b. Write a java GUI Program to calculate square of entered number

0
Rajiv Shah
May 23, 2022
More related questions

Questions Bank

View all Questions