Java - Packages and Access Control
Consider this code:
package com.example;
public class Demo {}
// In another file:
import com.example.*;
import com.example.Demo;
What is the problem here?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions