BCA 3rd Semester
OOP In JAVA Board Question Paper 2021 - Tribhuvan University (TU) 2021

Views: ...
Tribhuvan University official logo

Tribhuvan University

Faculty of Humanities & Social Science
OFFICE OF THE DEAN
TUpapers.com TUpapers.com

Bachelor In Computer Application

Course Title: OOP In JAVA

Code No: CACS 204

Semester: III

Full Marks: 60 Pass Marks: 24 Time: 3 hours

Candidates are required to answer the question in their own words as far as possible.

Group B
Attempt any SIX question.
[6x5=30]
2.

Explain features of Object oriented concept in detail.

3.

What is a continue statement? Write a program in java that displays the sum of odd integers of an array.

4.

What is a parameterized constructor? Explain with an example.

5.

Explain method overloading in java with proper example.

6.

What is the use of 'this' and 'super' keyword? Explain with examples.

7.

Defined exception. How exceptions are handled in java? Explain with a proper example.

8.

Write short note on (Any Two);
a) Interface
b) Access modifiers
c) JDBC

Group C

Attempt any TWO questions

[2x10=20]
9.

a) Define inheritance. Explain the use of "extends" keyword in java.
b) What is an abstract class? Explain its use with an example.

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.

11.

a) Create the following GUI form in Java that checks a number entered in the text box is even or odd. image of html form image
b) Differentiate AWT with swing. Explain any two layout management in Java.