Results 1 to 2 of 2
  1. #1
    castiel is offline Member
    Join Date
    Aug 2009
    Posts
    27
    Rep Power
    0

    Default Difference between public/private/protected inner classes?

    hey, I was just wondering what's the difference between having
    your inner classes defined as public/private or protected and what are the implications of this?

    thanks,
    newbie

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,807
    Rep Power
    10

    Default

    Write some code to test an inner class of each access level and test it to see what happens.

Similar Threads

  1. Replies: 1
    Last Post: 12-04-2010, 06:41 PM
  2. Top level Protected Classes
    By Jithu in forum New To Java
    Replies: 2
    Last Post: 10-06-2010, 01:28 PM
  3. Public, private or (nothing) class
    By tyang in forum New To Java
    Replies: 3
    Last Post: 02-01-2010, 12:37 AM
  4. Replies: 3
    Last Post: 03-14-2009, 08:22 AM
  5. How to access private data types from public classes?
    By kevzspeare in forum New To Java
    Replies: 3
    Last Post: 03-07-2009, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •