Which is valid?

Which is valid?

Which is valid?

A.
package com.example;
class Test { }
import java.util.*;

B.
package com.example;
import java.util;
import java.*;
class Test { }

C.
package com.example;
import java.util.*;
import java.io.*;
class Test { }

D.
import java.util.*;
package com.example;
class Test { }

E.
package com.example;
package com.sun;
import java.util.*;
class Test { }



Leave a Reply 0

Your email address will not be published. Required fields are marked *