Explain the difference between string, stringbuffer and stringbuilder in java?


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

Post New Answer

More Core Java Interview Questions

What is the synchronized method modifier?

0 Answers  


Can we inherit a class with private constructor?

0 Answers  


What is diamond operator in java?

0 Answers  


What is the synonym of string?

0 Answers  


What are the main features of java?

0 Answers  


List the three steps for creating an object for a class?

0 Answers  


What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?

4 Answers  


What does the three dot emoji mean?

0 Answers  


Can we synchronize static methods in java?

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  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


How to sort a collection of custom Objects in Java?

0 Answers  


Categories