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: 10385
- 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.
Who is online
Users browsing this forum: No registered users and 7 guests