How use .contains in java?


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

Post New Answer

More Core Java Interview Questions

Why is the type for real numbers called double?

0 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  


Write a java program to check if a number is prime or not?

0 Answers  


where lives in jvm

5 Answers  


What is the default access specifier for variables and methods of a class?

0 Answers  






What is "Java Native Interface" and how to use it?

1 Answers   IBM,


How do you calculate square roots?

0 Answers  


Where the CardLayout is used?

1 Answers  


Is string passed by reference in java?

0 Answers  


What is the function of character?

0 Answers  


Explain in detail about encapsulation with an example?

4 Answers  


What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,


Categories