Tribhuvan University
Bachelor of Computer Application
Semester 3 · TU Board 2019
Course Title: Object Oriented Programming in Java (CACS204)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to answer the question in their own words as far as possible.
Group B
Attempt any SIX question.(6 × 5 = 30)
- 2.5
Define OOP. Explain features of Object Oriented Programming Language.
- 3.5
Explain different types of control statements used in java.
- 4.5
Define Abstract Class. Explain different types of Access controls available in java.
- 5.5
Define method overriding? Write any program to implement concept of multiple inheritance in java.
Answer comingAlso asked in 2025, 2022
- 6.5
Why it is important to handle exception in java? Write a program to illustrate the use of exception handling.
- 7.5
Define the use of static keyword. Write any four String methods used in java with example.
- 8.5
Define super, final and this keyword in java. Explain the concept of MVC in brief.
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
a) Define multithreading. Write a java program to show the inter-thread communication. b) Define Stream. Write a program in java to copy the content from one file to another.
- 10.10
a) Define Collection Class. Explain different Wrapper classes and associated methods in java. b) Define AWT. Explain different types of Layout Managers in java.
- 11.10
a) List and explain any five swing controls with their uses. b) Define JDBC. Write a program to display all records from a table of database.
— The End —