Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY

(Approved by AICTE, New Delhi, Affiliated to BPUT: Rourkela)


PALUR HILLS, BERHAMPUR, ODISHA -761 008

ASSIGNMENT NO # 01
Sub- Object Oriented Programming Using Java
B. Tech, 3rd Semester

Marks COLevel

1 Identify the object oriented features and explain them with suitable real life 10 1 2
examples

2 Illustrate the functionalities of Java Virtual Machine. 10 1 2

3 Define a student class with essential data members initializing with various
constructors. Write suitable methods to find and display the student results. Create 10 2 3
an array of 100 students and display their results with a final report showing
number of pass students and fail students.

[Note- use static variable to count the number of pass or failed students and static
method if required ]

4 Define the role of constructor in java and differentiate between default constructor 10 2 3
and parameterized constructors with suitable examples.

WAP to read two complex numbers from user and to perform operation (+, -, *) on them. 10 2 3
5
Input: Output:
Page1

5 C. No. 1: 5 + i 7
7 C. No. 2: 10 + i 12
10 Sum: 15 + i 19
12 Difference: -5 - i 5
Product: -34 + i 130

Date: 21st Sep 2019

Note: Last date of submission:28th Sept 2019


Students are requested to submit their assignment copies at respective faculty cabin.

You might also like