R
Q. What is the output of the below Java code?
int score=1; for(; true; score++) { System.out.print(score +","); if(score > 3) break; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of these keywords is used to refer to member of base class from a sub class?
Q. Which is the first line to trigger a compiler error?
Q. Which of these class is superclass of every class in Java?
Q. If you import a package, subpackages will not be imported.
Q. What difference does it make when java is out of memory?
Q. In java thread to thread communication is called _____.
Q. In Java, can a subclass access protected members (fields and methods) of its superclass?
Discusssion
Login to discuss.