Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4186242

incorrect description of protected keyword in tutorial?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.1
    • 1.2.0
    • docs
    • 1.1.1
    • generic
    • generic
    • Verified



      Name: tb29552 Date: 10/31/98


      In the tutorial, navigate as follows:

      1. Learning the Java Language
      2. Objects and Classes in Java
      3. Creating Classes
      4. Providing Constructors for Your Classes

      Erroneous Statement:
      "protected
      Only subclasses of your class can create instances of it."

      Correction:
      Other classes in the same package can also create instances of it.
      (Review ID: 41773)
      ======================================================================

            duke J. Duke
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: