Search:

Type: Posts; User: techiepro

Search: Search took 0.09 seconds.

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

    Sometimes there arises a need when a class that needs to be accessed from within the same package then default modifier is used.
    For example : a third party library/jar which has a class used by...
  2. Re: Using methods of one package in another package in same application? To import or not?

    Yes we need to import. Only when its imported then comes the part whether it can be accessible depending on the visibility(private, public, protected)
Results 1 to 2 of 2