aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes WHAT THE HELL IS THIS CODE ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "WHAT THE HELL IS THIS CODE ???" Watch "WHAT THE HELL IS THIS CODE ???" New topic
Author

WHAT THE HELL IS THIS CODE ???

Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
select which of the following are valid declarations (select 3 options)
question from khalid mughal book page no. 76


khalid mughal says 3,5,6 are correct. but compiler doesnt agree.
it says only line 3 in OK. will this code compile on 1.4 comliler ? i used 1.5 compiler.

is khalid mughal incorrect ??? the xpalnation at the book of the book is written explicitly that
the notation \uxxxx can be typed anywhere in the code to represent unicode characters

please help out
thanks in advance


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
gutta rahul
Greenhorn

Joined: Nov 23, 2003
Posts: 12
Hi,

in line 5 and 6 you are using \0061 instead of \u0061, which is giving the compilations error on those lines.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
oh,...thank u
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: WHAT THE HELL IS THIS CODE ???
 
Similar Threads
help needed
narrowing conversion
SCWCD
Anonymous class...please help
Khalid Mughal or HFSJ?