1)(a) What do you mean by package access specifiers and describe why are they used?
(b) Which package is imported by all java programs by default?
2)(a) What is meant by an Interface and why is it used? Describe the default access modifier for the Interface method.
(b) If we want to define the variable in the interface, what type must it be?
3)(a) What is the signature of the constructor of a thread class.
(b) What are the two ways to create a thread?
(c) What is the unit for 1000 in the below statement?
4)(a) Can a class be its own event handler? Describe in brief how to implement this.
(b) prepare down the difference between a ‘local’ applet and a ‘remote’ applet?
5)(a) prepare down the difference between TCP & UDP?
(b) How would you get IP Address of a machine from its hostname? prepare down two line ex code.
6)(a) prepare down the life cycle methods of servlets? Briefly describe them.
(b) What is meant by servletContext?
7)(a) What are Java Keywords? Wriyte down the name of any four keywords reserved for future use.
(b) What do you mean by Java Control Statements? describe each one of them and their usefulness.