What is substring in java?



What is substring in java?..

Answer / Mithlesh Giri

In Java, `substring()` method is used to extract a portion of a string and return it as a new String object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many decimal places is a double?

1 Answers  


Why method overriding is used?

1 Answers  


What methods are used in Servlet?Applet communication?

1 Answers   Satyam,


Can a class be a super class and a sub-class at the same time? Give example.

2 Answers  


What are the java ide's? Explain

1 Answers  


Explain 5 io best practices?

1 Answers  


What is string literal in java?

1 Answers  


What is the difference between an interface and an abstract class?

1 Answers   Cyient,


What does ide stand for?

1 Answers  


Can singleton class be cloned?

1 Answers  


Why do we need hashset in java?

1 Answers  


What is difference between wait and notify in java?

1 Answers  


Categories