Write the java statement that should appear after the comments. (After the first in Blank 1 and
after the second in Blank 2.) public class Test { public static void main (String[] args) { int i = 8
; int j = 10 ; // Fill in statement to invoke the sum method and display sum of i and j . p public
static int sum(int i, int j ) { / / Fill in the code to return the sum of i and j . Blank # 1 Blank # 2

Write the java statement that should appear after the comments- (After.pdf

  • 1.
    Write the javastatement that should appear after the comments. (After the first in Blank 1 and after the second in Blank 2.) public class Test { public static void main (String[] args) { int i = 8 ; int j = 10 ; // Fill in statement to invoke the sum method and display sum of i and j . p public static int sum(int i, int j ) { / / Fill in the code to return the sum of i and j . Blank # 1 Blank # 2