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.
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?
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!
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