Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of the below Java program?
int balls[], rounds=3; balls = new int[rounds]; for(int i=0; i<balls.length; i++) balls[i] = (i+1)*2; for(int j=0; j<balls.length; j++) System.out.print(balls[j] + ",");
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Component which additionally provides a pop-up date picker control for its enclosedinput field.
What is the output of the below Java program?
What is true of the finalize() method?
What can a method do with a checked exception?
Which package provides many event classes and Listener interfaces for event handling?
___________ returns true if called on a file and returns false when called on a directory.
Choose the correct identifier for a method name in Java.
Which of the following is NOT a keyword in Java?
Which of these can not be used for a variable name in Java?
Which of these keywords is used to refer to member of base class from a sub class?
Discusssion
Login to discuss.