What is replacefirst in java?



What is replacefirst in java?..

Answer / Kamal Kihsor

replaceFirst() is a method in Java String class that replaces the first occurrence of a specified substring with another specified substring.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How does multithreading take place on a computer with a single cpu in java programming?

1 Answers  


What are JVM.JRE, J2EE, JNI?

1 Answers  


What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is java objectoutputstream?

1 Answers  


Explain the transient field modifier?

1 Answers  


What is a dynamic array in java?

1 Answers  


What are the difference between composition and inheritance in java?

1 Answers  


What is java reflection api?

1 Answers  


How to obtain a performance profile of java program

1 Answers  


What is the use of jtable?

1 Answers  


What type of language is java?

1 Answers  


What is string literal in java?

1 Answers  


Categories