Nadeem Khan

Ranch Hand
+ Follow
since Nov 27, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Nadeem Khan

Hi Marc,
But HFS & J by Bryan,Kathy & Bert says its depends on the server fetching GET request!
Hi,
Total amount of characters in a GET method is limited. This limit has been decided by the HTTP protocol OR is it decided by the server which fetches the GET request. Please clear my confusion.
i dont think bit operators are included in scjp 1.5
I agree with Ulf. Its all you need to know for SCJP 5.0. BTW I didnt encounter a single question to differentiate b/w checked & unchecked.
Hi,
Didnt understand where you are getting NullPointerException!
Congrats!!
Thanks a lot for the preparation plan!
hi,
Didnt get you Nuwan. Please be a bit more elaborate.
coool.. gud luck man!

p.s- If you know of any good books for java game programming for beginners, please lemme know.
17 years ago
Hey Jelle,
Does it mean that for each enum type (MO,TU), ONLY one specific object is created for any no. of references!?

And the first time when the enum's constructor is called, it creates all the objects specific to each type!?
Oye puttar , i have also just begun. I know core java so i am learning now the GUI part of java, applets, swing etc. And after that i am planning to go through the seems-like-a-good-book "Killer Game Programming In Java".What about you?
17 years ago
Hey Vishal,
You are correct but still i dont feel satisfied as what could be the reason that java allows this to happen!
Switch(Gitesh's code)
case 1:
The compiler knows that the code is definitely throwing an exception from the syntax "throw new ArithmeticException();" and hence it comes to know that the next statement within that block of code is UNREACHABLE during the phase of code optimization, & thus it gives you an error!


case 2:
Here compiler cannot deduce the logic just by parsing your syntax, so it doesnt know that this will throw an ArithmeticException! Hence no compiler error!

default:
Hope that helps
Compiler errors can be defined as the errors arising in your code due to some incorrect syntax (encountered while parsing) OR something whose meaning/semantics is wrong and can be found out just by looking at the syntax ....whereas the problem in logic OR something which produces undesired/incorrect results while execution comes as Run time error


I hope that helps a bit!
Hey,
List x1= new ArrayList<String>();

Why do you think it allows any add operation on x1 even though the actual ArrayList object is of generic type- String.