M
Q. Determine output:
class A{ public static void main(String args[]){ int x; x = 10; if(x == 10){ int y = 20; System.out.print("x and y: "+ x + " " + y); y = x*2; } y = 100; System.out.print("x and y: " + x + " " + y); } }
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. Recursion in Java applies to ___.
Q. Which is the operator used to represent a Vararg type in a method or constructor in Java?
Q. Which one of the following is not an annotation used by Junit with Junit4?
Q. Which attribute uniquely identification element?
Q. ____________ is not a package in java.
Q. Which of these is a super class of all exceptional type classes?
Q. Program which executes applet is known as
Discusssion
Login to discuss.