Does substring create a new object?
Answer / Aditya Kumar Kushwaha
Yes, substring() creates a new string object that contains a sub sequence of the original string.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is diffrance between FINALIZE() & FINALLY ?
Why should we use singleton pattern instead of static class?
what do you mean by marker interface in java?
What are checked exceptions?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What are the steps involved to write rmi based programs?
Which programming language is best in future?
Why is singleton not thread safe?
What is a void method?
What is the use of Getters and Setters method ?
Is array dynamic in java?
What is passed by reference and pass by value ?