What are the differences between string and stringbuffer?


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

Post New Answer

More Core Java Interview Questions

Explain different types of wrapper classes in java?

0 Answers  


when should you use stringbuilder class in a program?

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  


How long will it take to learn java?

0 Answers  


Can we overload the constructors?

0 Answers  


What is the arraylist in java?

0 Answers  


How does the java compiler work?

0 Answers  


What do you understand by a Static Variable?

0 Answers   CGI,


what is Portal(web based online portal)?

2 Answers   AIG,


How do you escape sequences in java?

0 Answers  


Do extraneous variables affect validity?

0 Answers  


How can final class be used?

5 Answers   Accenture, Wipro,


Categories