Methods to pass parameters to applets


Answer the following questions.

Question 1)a) Write down different control structures with examples. Why do we use them?

Question 2)a) What do you understand by multithreaded program?

b) What is synchronization? How it can be achieved?

c) Write a program to create a tiny editor, which creates an array of string objects & reads in lines of text, storing each line in the array to read up to 10 times, until you enter “stop”.

Question 2)a) Describe how parameters can be passed to Applets with suitable example.

b) Demonstrate the usage of Nested and Inner classes.

c) Show class hierarchy for Panel and Frame (Diagram).

Question 3)a) What are packages? Why are they used for? State one difference between package and interface.

b) What are layout manager? Describe at least four layout classes with constructors.

Question 4) Write brief note on Introspection.

b) What is a java bean? State it’s two advantages.

c) What are servlets? Describe how to write and execute a servlets program.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Methods to pass parameters to applets
Reference No:- TGS06609

Expected delivery within 24 Hours