What is prefix of a string?
Answer / Bhagya Laxmi Upadhyay
In Java, a prefix of a string refers to any initial subsequence of the string. For example, if s is a string, then "ab" is a prefix of "abc". You can check if a string has a specific prefix using substring() method.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
What data type is string java?
What are the types of sockets in java?
Why is logger singleton?
What are user defined exceptions?
What is super constructor?
Explain creating threads by implementing runnable class?
Does string isempty check for null?
Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?
is it possible to instantiate the math class?
What is the difference between logical data independence and physical data independence?
How do you use compareto in java?