Question: 6. Show the printout for the following program. public class Foo { static int i=0; static int j = 0; } public static void
6. Show the printout for the following program. public class Foo { static int i=0; static int j = 0; } public static void main(String[] args) { int i=2; www } int k=3; www { int j=3; System.out.println("i is System.out.println("j } k=i+j; im m is www System.out.println("k is. un System.out.println("j is "1 + i); + j); + k); + j);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
