MCS-024 Object Oriented Technologies and Java Programming Solved Assignment 2019-20
There are eight questions in this assignment which carried 80 marks. Rest 20 marks are for
viva-voce. Answer all the questions. Give appropriate comments in programs to increase
understandability. Wherever required, you may write java program, run it on machine
and take its output as part of solution. Please go through the guidelines regarding
assignments given in the Program Guide for the format of presentation.
MCA(2)/MCS-024 Solved Assignment 2019-20 |
Q1.
(a) Explain basic concepts of Object Oriented Programming? Explain how data hiding is
achieved. (5 Marks)
(b) Explain use of different types of operators available in java with the help of examples.
(5 Marks)
Q2.
(a) Explain how class is defined in java with the help of an example. Also explain what are
the things which are kept inside a class. (2 Marks)
(b) Write a java program to create an Account class and define constructors in it. Inherit
Saving_Bank_Account class from Account class. Override constructors of Account class
in Saving_Bank_Account class. Define appropriate methods to operate the accounts.
0 comments:
Post a Comment