Yes without importing the netbeans editor shows a message that "add import for package1.<interface name>"
--- Update ---
but I read that with default modifier( no modifier) we can only access...
Type: Posts; User: shaz
Yes without importing the netbeans editor shows a message that "add import for package1.<interface name>"
--- Update ---
but I read that with default modifier( no modifier) we can only access...
Salaam all!
I have an interface declared as "public" in a package called "package1". I want to use its methods in another package "package2" so do I have to import the package1 in the package2 ?...