Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
/q p:/ htt
Time Allotted : 3 Hours 1. i) a) c) ii) Char Double a) c) iii) Super Class Package a) c) 6478 Public Default
CS/B.Tech/(ICE-NEW)/SEM-6/IC-604C/2013
Candidates are required to give their answers in their own words as far as practicable.
( Multiple Choice Type Questions ) Choose the correct alternatives for the following : 10 Which is a primitive type variable declaration ? b) d) Byte
In JAVA, Applet is a
pap
GROUP A
wb er.
b) d) b) d)
1 = 10
All of these.
Interface Object.
in a c. ut .
Protected All of these. [ Turn over
/q p:/ htt
java.awt v) a) c) message vi) a) c) Inner class vii) a) b) c) d) all of these. ( viii) Aggregation a) b) c) d) ix) a) b) c) d) 6478 all of these.
Method overloading
An Actor is someone or something that must interact with the system that always external to the system that are not part of the system
lines with a solid diamond at one end lines with a hollow diamond at one end lines with an arrow at one end.
Using class declaration, the "final" keyword means the methods in that class will be overridden the class cannot be sub-classed
pap
2
wb er.
encapsulation )
relationships
are
in a c. ut .
/q p:/ htt
2. 3. method overriding ? 4. 5. 6. 7. a) b) c) 8. a) b) c) d) 6478
short[ ] z [ ][ ];
GROUP B ( Short Answer Type Questions ) Answer any three of the following.
5 = 15
What do you mean by Object Oriented Programming ? How does it differ from Structure Oriented Programming ? 2+3
What do you mean by interface ? Write the difference between interface and abstract class. Illustrate the use of this and super with an example. GROUP C ( Long Answer Type Questions ) Answer any three of the following.
What are the features of java language ? Describe. What do you mean by command line argument ? What do you mean by subclass constructor method ?
Explain the method by which you can block a thread. What is thread synchronization ?
pap
3+2
wb er.
15 = 45
in a c. ut .
5+5+5
CS/B.Tech/(ICE-NEW)/SEM-6/IC-604C/2013 9. a) b) c) What is applet ? Describe the applet life cycle. What is local applet ? What are the differences between Java applicatioin & Java applet ?
/q p:/ htt
d) e) 10. a) b) c) d) i) ii) feature ? 6478
Explain the function of a JVM in brief. What might be the differene in functionality between a machine with only JDK installed and another machine with only JRE installed.
Discuss the requirement of each keyword in the following Java program statement.
"public static void main (string args [ ])" Multiple inheritance can be performed in Java. Explain how.
pap
4
wb er.
in a c. ut .
4+3+4+4