Friday, December 18, 2015

BASIC JAVA,University Of Pune Question Paper,P. G. D. C. A. (Semester - II),2010 Question Paper,

University Of Pune Question Paper
P. G. D. C. A. (Semester - II) Examination - 2010
BASIC JAVA
(New 2008 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Question No. 1 is compulsory.
(2) Solve any four from the remaining.
Q.1) (A) Solve the following : [06]
(a) Select true statements :
(i) Object of interface can be created using new key
word.
(ii) All variables in interface are static and public.
(iii) In interface method implementation of any of the
methods can be declared.
(iv) All methods in interface are abstract.
(b) Select true statements :
(i) Main( ) method can be overloaded.
(ii) Constructor returns nothing.
(iii) New key word is used to call constructor.
(iv) Constructor can be declared as private.
(c) Select true statements :
(i) Overloaded methods have same signature.
(ii) Overridden methods have same signature.
(iii) Overloaded methods are declared in same class.
(iv) Overridden methods are declared in same class.
(B) Write short notes : (Any Two) [08]
(a) Thread Life Cycle
(b) Wrapper Classes
(c) Vector
(d) Data types in Java
Q.2) Create Animal as an abstract class with eat( ), grow( ) as abstract
methods. Create abstract class Bird as subclass of Animal with fly( )
as abstract method. Then create concrete classes Parrot, Sparrow
which are Birds. [14]
Q.3) Write an awt application which will have a list, a text field and a
button with caption ‘Add’. When Add button is clicked, contents of
text field should be added to list. [14]
Q.4) Write a threaded application which will add 1 to the caption of button
after every second. Initially Button has caption “1”. [14]
Q.5) Write an application which will accept a number from command line.
If the given number is odd number, then throw “oddNumber” user
defined exception. [14]
Q.6) Write an application which will accept a file name using command
line. Then show odd positioned lines of that file. Handle exceptions. [14]
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