Q.- Given:
public class Test {
// line n1
}
Which two code fragments can be inserted at line n1?
A) Test( ) { }
B) String str = "Java";
C) package p1;
D) import java.io.*;
E) for (int ival = 0 ; ival <= 5; ival++) { }
⧪ please give your answer in a comment section.
public class Test {
// line n1
}
Which two code fragments can be inserted at line n1?
A) Test( ) { }
B) String str = "Java";
C) package p1;
D) import java.io.*;
E) for (int ival = 0 ; ival <= 5; ival++) { }
⧪ please give your answer in a comment section.
4 Comments
A B
ReplyDeletea b
ReplyDeleteAB
ReplyDeleteAB
ReplyDelete