Skip to content

Missing example in "Objects, Classes, Interfaces, Packages, and Inheritance" (https://dev.java/learn/oop/) #245

@joaoLouceiro

Description

@joaoLouceiro

Hello, team!

First of all, thanks for all the amazing work.

I believe there is a link missing in the last section of the "Objects, Classes, Interfaces, Packages, and Inheritance" page (https://dev.java/learn/oop/), in the second to last paragraph. I highlighted the example I am referring to:

The Java platform provides an enormous class library (a set of packages) suitable for use in your own applications. This library is known as the "Application Programming Interface", or "API" for short. Its packages represent the tasks most commonly associated with general-purpose programming. For example, a String object contains state and behavior for character strings; a File object allows a programmer to easily create, delete, inspect, compare, or modify a file on the filesystem; a Socket object allows for the creation and use of network sockets; various GUI objects control buttons and check boxes and anything else related to graphical user interfaces. There are literally thousands of classes to choose from. This allows you, the programmer, to focus on the design of your particular application, rather than the infrastructure required to make it work.

From the context, it seems it refers to the JComponent class (https://docs.oracle.com/en/java/javase/26/docs/api/java.desktop/javax/swing/JComponent.html).

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions