PROBLEM 1
for(char c=0;c<1000;c++)
System.out.println(c);
GIVES CHARACTERS UPTIL C IS 128, AFTER THAT IT GIVES '?'
WHY ?
IF IT'S RELATED TO ENCODING SCHEME, KINDLY EXPLAIN ?
PROBLEM 2
System.err is an object of PrintStream
Also err is a static member of System Class
Please explain the above given lines.
PROBLEM 3
if i declare run() as synchronized method in a class implementing
Runnable, it is fine, it works in a synchronized manner.
But if declare run() as a synchronized method in a class
which extends
Thread, it does not work in a synchronized
way. ?