Does java trim remove newline?
Answer / Makeshwar Tanti
Yes, the Java String's trim() method removes any whitespace from both the beginning and end of a string. This includes spaces, tabs, and line breaks.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a “stateless” protocol ?
What are serialization and deserialization?
Which java version is latest?
what is difference between servletconfig and servletcontext?
Are arrays passed by reference in java?
. Define Copy Constructor in Java
What is a linkedhashmap java?
How does indexof work?
who can i handle multiple client in RMI
What do you mean by thread safe?
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p?
How hashmap works in java?