V
Q. What will be the output of the following Java program? class array_output { public static void main(String args[]) { int array_variable [] = new int[10]; for (int i = 0; i < 10; ++i) { array_variable[i] = i/2; array_variable[i]++; System.out.print(array_variable[i] + " "); i++; } } }
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 methods are used to bind the objects on HttpSession instance andgetthe objects?
Q. Memory is allocated to an object once the execution of ___ is over in Java language.
Q. In JSP how many ways are there to perform exception handling?
Q. To control inheritance to different classes and levels, Java provides ____.
Q. What is the purpose of an abstract method in an abstract class or interface?
Q. How do you create a Reader object from an InputStream object?
Q. Which one enables an object to initialize itself when it is created
Q. Which method returns a reference to the currently executing thread object?
Discusssion
Login to discuss.