Questions Search

This website covers previous years question papers of various universities and colleges in India. Moreover, the information on admission to various courses from various universities/institutes/colleges are also available. Research paper questions are also updated from time to time. Also the latest teaching faculty plus teachers jobs, Government jobs, Banking Jobs, and other jobs are regularly updated to help jobless candidates. Admit cards of various recruitment of Govt organisation are updated. Search your terms using the search box provided.

Follow by Email

Friday, December 18, 2015

OBJECT ORIENTED PROGRAMMING WITH JAVA (OOPJ),2010 Question Paper,P. G. D. C. A. (Semester - III),University Of Pune Question Paper

University Of Pune Question Paper
P. G. D. C. A. (Semester - III) Examination - 2010
(Old 2005 Pattern)
Time : 3 Hours] [Max. Marks : 80
Instructions :
(1) Question No. 1 is compulsory.
(2) Solve any four from the remaining.
Q.1) (A) What will be Output ? Justify your answer : [06]
(a) Class MyDemo
public static void main(string s[])
int x = 10, y = 15;
x = ((x < y) ? (y + x) : (y – x));
system.out.print\n (“x” + x);
(b) Which of the following is overloading method for
int sum (int x, int y) {} method.
(i) int sum (int x, int y, int z)
(ii) int sum (int x, int y)
(iii) float sum (int x, int y)
(iv) int sum (int x, int y, float z)
(c) Class MainDemo
Public static void main (string s[])
boolean b = true;
system.out.print\n (“XXX”);
system.out.print\n (“YYY”);
(B) Write short notes : (Any Two) [10]
(a) Access Modifiers
(b) Static Keyword
(c) Use of Final Keyword
Q.2) Accept E-mail from user and if @ symbol is not present then throw
user defined exception which is “InvalidSymbolException”. [16]
Q.3) Write a program to read content of file and replace ‘the’ word
with ‘other’. [16]
Q.4) Write threaded Application where first thread prints even numbers from
1 to 100 and other thread prints alternative characters from A to Z. [16]
Q.5) Book Rate Qty.
       JAVA 250
      DBMS 360
            VB 200
Design above Applet, if user selects books by clicking on checkbox
and writes quantity required. When bill button is clicked print bill
details with proper format. [16]
Q.6) Write abstract class staff with abstract method, calculate Salary( ) and
Instance Method Print Data (int no, string name).
Write Typist Class as sub-class of staff with speed as instance variable,
if speed less than 40, then salary 4000 else 5000.
Write main class to implement above classes. [16]

No comments:

Post a Comment

Pen down your valuable important comments below