About Question com.enthuware.ets.scjp.v6.2.808 :
Moderator: admin
About Question com.enthuware.ets.scjp.v6.2.808 :
I don't think this is true of all JVMs. K&B book specifies that \s and \\s is JVM specific
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.808 :
I am not sure about the context in which K&B states that so can't really comment on that. As per the JavaDoc API documentation at http://docs.oracle.com/javase/1.4.2/doc ... ttern.html \s is a whitespace character, so the given answer is correct.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 232 guests