How to sort array in descending order in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What do you mean by jjs in java8?

0 Answers  


Is alive and join method in java?

0 Answers  


What is the symbol for average?

0 Answers  


What is the difference between static (class) method and instance method?

0 Answers  


Convert Binary tree to linked list.

0 Answers   Amazon,


why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?

2 Answers   Global Logic, Satyam,


Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.

2 Answers  


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.

0 Answers  


How can you generate random numbers in java?

0 Answers  


What is meant by data hiding in java?

0 Answers   Aspire, Infogain,


What do you meant by active and passive objects?

0 Answers   Wipro,


Explain about sets?

0 Answers  


Categories