Question: What is the output for the third statement in the main method? public class Foo { static int i = 0 ; static int j
What is the output for the third statement in the main method?
public class Foo
static int i ;
static int j ;
public static void mainString args
int i ;
int k ;
int j ;
System.out.printlni j is i j;
k i j;
System.out.printlnk is k;
System.out.printlnj is j;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
