Search:

Type: Posts; User: Mr.777

Search: Search took 0.09 seconds.

  1. Re: about access modifiers (abstract and protected)

    Well, i was supposed to talk about non-nested or non-inner classes. Well, thanks copeg anyways for pointing this out as well. Now, Any non-nested or non-inner class can have only public or default...
  2. Re: about access modifiers (abstract and protected)

    Well, both work same except when it comes to the different packages. protected works in different packages only if there is inheritance while default doesn't. And in remaining all cases both work...
  3. Re: about access modifiers (abstract and protected)

    Only public, private and protected keywords are access modifiers while there are four different access levels including three keywords and default access level.
  4. Re: about access modifiers (abstract and protected)

    There is the difference between access and non-access modifiers. A class can only have public or default access modifier while abstract, final, native etc are non access modifiers. So, yes a class...
  5. Re: about access modifiers (abstract and protected)

    Class can only be public or default.
    And instance methods can be abstract and protected though. But you must need to implement this protected method in the very next concrete class(non abstract) or...
Results 1 to 5 of 5