Sie sind auf Seite 1von 2

Adv JAVA (oct 2014)

Q1.Explain in brief the Use of JInternalFrame.

Q2.Write a short note on JOptionPane.

Q3.Write a program in java which creates a list containing at least 3 states of India. On the click of any
state, the capital of that state should be diaplayed in a Text field.

Q4.Explain any three text component in swing.

Q5.Briefly explain JScrollBar and Identify the difference between JScrollBar and JScrollPane.

Q6.Write a program in java that reads an integer number 'n' in a text field. Create a JButton labelled
"Sum". On click of the JButton 1+2+3+.......+n should be calculated and displayed in another text field.

Q7.Explain the JFileChooser class with one method in it.

Q8.Explain any three constructors of JTree class.

Q9.Write a brief note on Java print services API.

Q10.How to synchronise thread? Explain with example.

Q11.What are the methods involved in communication between threads.

Q12.Write a program in Java to display clockwise spin line on a button click.

Q13.Write a brief account of the drivers of JDBC(any two).

Q14.Explain the importance of Class.forName() method.

Q15.Explain the importance of Class.forName() method.

Q16.Explain the importance of Connection.createStatement() method

Q17.Write a JDBC program that counts the total number of managers from emp table

(emp code → number, emp name Varchar, emp desig → Varchar).

Q18.Write a short note on Stored Procedures.

Q19.Explain any three important mehtods of ResultSetMetaData.

Q20.Write a JDBC program that accepts a subject name as a command line argument and displays
highest score in that scubject.
Q21.Write a short note on Socket Direct protocol.

Q22.Explain Socket class in detail.

q23.Define the interface and implimentation class of a RMI system with a method that accept a
number and returns its reverse.

q24.Explain the getHost() method from URL class.

q25.Explain getPort() method from URL class.

q26.Explain getProtocol() method from URL class.

q27.Explain getFile() method from URL class.

q28.Explain getRef() method from URL class.

q29.Write a TCP server program in java that receives an Integer number from a client, checks
wheather it is a palindrome and sends an output to the client?

q30.Write a java program that accepts coputer name as a command line argument and to display its
Inet Address.

q31.Explain the JDialog class with suitable example.

q32.Explain any three methods of the Timer class?

q33.What are the step involved in creating and running RMI programs.

q35.Write a short note on RMI architecture.

q35.Write a program in java for the following :

The Jtabbed pane class contains two tabs "city" and "bank".

First is titled with panel name "city panel" and include two buttons labelled "Mumbai" and "Delhi".

The second tab titled as bank with panel name " Bank Panel", includes list of Nationalised bank viz.
SBI, PNB, SBBJ.

Das könnte Ihnen auch gefallen