Wednesday, December 16, 2015

University Of Pune Question Paper,2010 Question Paper,M.M.S./M.B.S. (Semester – II),203 C : OOP CONCEPTS AND BASIC JAVA,

University Of Pune Question Paper
M.M.S./M.B.S. (Semester – II) Examination, 2010
203 C : OOP CONCEPTS AND BASIC JAVA
Computer Specialization
(2005 Pattern) (Old)
Time : 3 Hours Max. Marks : 60
Note : 1) Question 1 is compulsory.
2) Solve any three from remaining.
3) Figures to right indicate full marks.
1. Solve the following : 15
a) Trace the output
class Test{static boolean flag;
public static void main(String args[]){
if ( flag )
{ System.out.println(flag);
}
}
}
b) class Q1b{
public static void main[String ka[]){
 while(false){
System.out.println(''Great");
}
 }
}
c) What is thread synchronization ?
d) How to find attributes of a file ?
e) How applet is called from a HTML file ? P.T.O.
2. a) Accept details of 50 items, like itemcode(string), description, quantity available,
rate. Fire exception if itemcode is less than 5 characters, quantity and rate is
zero or negative. 10
b) Write an anonymous class to close the window. 5
3. a) Accept name of the two files on command line swap the contents of files. 10
b) Write program, which will show the life cycle of an applet. 5
4. a) Write applet program to accept details of employee using appropriate GUI.
Take one command button to display the accepted details in a label pasted to
panel. 8
b) Create an application to display scrolling banner. (Do not use Applet). 7
5. Write notes on (any three) : 15
a) Differentiate between method overloading and method overriding.
b) Differentiate between class and interface.
c) Justify that “Java is Object oriented Language”.
d) Write note on final, finally, finalize.
–––––––––––––––––

Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here