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. *;
public class Test{}
F.
public class Test{}
package abc;
import java.util.*{}
G.
import java.util.*;
public class Test{}
H.
package abc;
public class test {}
Explanation:
B E G H