At first only char chc = 'cafe'; line is the one shown with error highlighting. But as soon as u comment that line u will see that no other line except char chb = '\''; char che = '\ucafe'; is compiling. This is because of incremental compiling feature of eclipse there is nothing wrong either with eclipse or the answer.B and E are only valid Hope this helps
} } O/P is: ---------- Run ---------- Hello World!? Hello World!'
Please tell me,why i am getting "?" and "'" symbols
U are getting Hello World!' because u have declared ch to hold that value char ch = '\''; \ is acting as a escape character the value held by ch is ' and as far as ch1 is concerned there is no matching unicode value for '\ucafe' that is why a ? is returned Hope this helps