Search:

Type: Posts; User: shaz

Search: Search took 0.17 seconds.

  1. Re: Using methods of one package in another package in same application? To import or not?

    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...
  2. Using methods of one package in another package in same application? To import or not?

    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 ?...
Results 1 to 2 of 2