Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java Question

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Thanked 0 Times in 0 Posts

    Default Java Question

    Hey just beginning java and looking at past questions for java programming exam ill be doing next year. The question I don't know the answer to is:

    Explain briefly how access to the properties of a class from outside the class can be
    controlled in Java. What is the default if nothing is specified?

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: Java Question

    See this link: Controlling Access to Members of a Class (The Java™ Tutorials > Learning the Java Language > Classes and Objects)

Similar Threads

  1. Question for Java experts please
    By XElCaballoX in forum Java Theory & Questions
    Replies: 2
    Last Post: August 19th, 2010, 01:43 AM
  2. Java File IO question :confused:
    By byebyebye in forum File I/O & Other I/O Streams
    Replies: 9
    Last Post: August 17th, 2010, 06:45 AM
  3. New Java user ActionListener question
    By VBGuy in forum What's Wrong With My Code?
    Replies: 7
    Last Post: July 20th, 2010, 09:46 PM
  4. [SOLVED] java Reflection Question - I am lost.
    By prain in forum Java Theory & Questions
    Replies: 3
    Last Post: May 13th, 2010, 02:43 PM
  5. A question About Java (whats my next Step?)
    By DarrenReeder in forum Java Theory & Questions
    Replies: 4
    Last Post: December 7th, 2009, 03:51 AM