About Question com.enthuware.ets.scjp.v6.2.808 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scjp.v6.2.808 :

Post by ETS User »

I don't think this is true of all JVMs. K&B book specifies that \s and \\s is JVM specific

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.808 :

Post by admin »

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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 232 guests