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.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Ayesha Mustafa· 9 days ago

    BS ZOOLOGY first semester Animal diversity ZOOL 101 - university of Punjab 2025

    0 replies Reply →
  • Abubakar· 9 days ago

    Literary criticism

    1 reply Reply →
  • Guest· 10 days ago

    this paper consists of 60 marks but now we have 35 marks paper.

    1 reply Reply →
  • saira khalid· 1 month ago

    air past paper nhi h

    1 reply Reply →
Ad

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