0% found this document useful (0 votes)
37 views1 page

CSE 1251 CT Questions

Uploaded by

saymyname.pt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views1 page

CSE 1251 CT Questions

Uploaded by

saymyname.pt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Object Oriented Programming (CSE 1251)

CT-1 (Package, Class-Object Methods)


1. Being free form language, what advantage does java provide?
2. Imagine there are two folders. First one is F1 and second one is F2. Main file
is in F2. F2 is inside F1. Write a program to check if a number is even or
odd. What are the advantages of packages?
3. How class-object concept benefit us to describe real life application?

CT-2 (Inheritance and Polymorphism, Interface & Abstract)


1. Show examples of two kinds of Inheritance.
2. N/A

CT-3 (Array & dynamic array, Exception handling


1. A father is creating a game for his child. If the child presses one, a number
will be taken as input and insert it into an array. If she presses two, the top
number will be deleted. Use proper dynamic array to implement this code.
Write the main function.
2. Show an example for array of objects. Insert and output values.
3. Show an example of exception handling.

You might also like