Home /Islamia University Bhawalpur (IUB) /Object Oriented Programming

Object Oriented Programming MSCS 1 Semester/Term Islamia University Bhawalpur (IUB) 2017

Object Oriented Programming MSCS 1 Semester/Term Islamia University Bhawalpur (IUB) 2017 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

More Object Oriented Programming papers

See all

Paper text

Department of Computer Sciences

Cle Islamia University of Bahawalpur

Subject: Object@lented Programming

Class: MCSgW(2015-2017)

Term: ERal

Subject Marks: 45

Time: 1 hr. 40 min

Date:

- -2017

Section / - Short Questions

0 # 02: Explain the following with example

1. Function overloading and Overriding

2.

Difference between throw and throws?

17*3 211

) # 03: Write a method for computing first n terms of Fibonace sequence. Deline method main

taking value elimas command Ine argumentand.

108]

Q# 04: Write a complete program to have a GU! based simple calculator in a frame supporting

addition de subtraction, There are butlons foroto O digits and for arithmetic operations, Select

class to have two sub classes called book publication & paper publication. Lach of these classes

have private member called title. Write a complete program to show usage of dynamic method

dispatch (dynamic polymorphism) to display book or paper publications of given author. Use

command line arguments for inputting dara.

108]

visit website: ustadni.com