Which four are syntactically correct?
A.
package abc;
package def;
import Java.util . * ;
public class Test { }
B.
package abc;
import Java.util.*;
import Java.util.regex.* ;
public class Test { }
C.
package abc;
public class Test {}
import Java.util.* ;
D.
import Java.util.*;
package abc;
public class Test {}
E.
package abc;
import java.util. *;
publicclassTest{}
F.
publicclass Test{}
package abc;
importjava.util.*{}
G.
import java.util.*;
public class Test{}
H.
package abc;
public class test
B, E, G
B E G H, if the “test” in H is replaced by “Test{}”.
+1
BEGH