What does a boolean method return?


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 classloader?

0 Answers  


What are the rules for variable declaration?

0 Answers  


What is the difference between actual and formal parameters?

0 Answers  


What is the purpose of main function in java?

0 Answers  


What are the benefits of java?

0 Answers  






What is bifunction in java?

0 Answers  


explain Anonynous inner class?

6 Answers   TCS,


What is the use of StringTokenizer class?

0 Answers   Hexaware, Virtusa,


What is the GregorianCalendar class?

2 Answers   HCL,


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

0 Answers   Rolta,


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  


what is encapsulation in java? Explain

0 Answers  


Categories