Which number is denoted by leading 0x or 0x in java?
What is the purpose of void class?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
what are variables in java
What do you mean by ternary operator in java?
What are the differences between string and stringbuffer?
what is the major difference between linkedlist and arraylist in java?
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)
3 Answers ProdEx Technologies,
Are functions objects in java?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
What are different types of inner classes ?
what are the differences between java and .net?..why u choose java?