Connexions

Sections
You are here: Home » Content » Java OOP: The this and super Keywords

About: Java OOP: The this and super Keywords

Module by: Richard Baldwin. E-mail the author

View the content: Java OOP: The this and super Keywords

Metadata

Name: Java OOP: The this and super Keywords
ID: m44201
Language: English (en)
Summary: Baldwin explains the use of the keywords this and super, and provides sample programs to illustrate the use these keywords for several purposes.
Subject: Science and Technology
Keywords: abstract class, abstract method, assignment compability, behavior, casting, class, class method, class variable, constructor, encapsulation, extends, final, implements, inheritance, inner class, instance, instance method, instance variable, instantiate, interface, Java, method, method overloading, method overriding, object, object-oriented programming, OOP, polymorphism, primitive type, public, reference, reference type, signature, state, static initializer block, subclass, superclass, toString method, variable, void
License: Creative Commons Attribution License CC-BY 3.0

Authors: Richard Baldwin (Baldwin@DickBaldwin.com)
Copyright Holders: Richard Baldwin (Baldwin@DickBaldwin.com)
Maintainers: Richard Baldwin (Baldwin@DickBaldwin.com)

Latest version: 1.2 (history)
First publication date: Jul 29, 2012 2:53 pm -0500
Last revision to module: Aug 8, 2012 10:31 am -0500

Downloads

PDF: m44201_1.2.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m44201_1.2.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.

Version History

Version: 1.4 Jan 1, 2013 11:06 pm -0600 by Richard Baldwin
Changes:
update

Version: 1.3 Dec 12, 2012 7:48 am -0600 by Richard Baldwin
Changes:
Update title

Version: 1.2 Aug 8, 2012 10:31 am -0500 by Richard Baldwin Currently viewing this version.
Changes:
Replaced a placeholder by a new module.

Version: 1.1 Jul 29, 2012 2:55 pm -0500 by Richard Baldwin
Changes:
Published link to original online version pending completion of the cnxml version.

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Richard Baldwin
  • the title of the work: Java OOP: The this and super Keywords
  • the Connexions URL where the work can be found: http://cnx.org/content/m44201/1.2/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Baldwin, R. Java OOP: The this and super Keywords, Connexions Web site. http://cnx.org/content/m44201/1.2/, Aug 8, 2012.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Java OOP: The this and super Keywords [Connexions Web site]. August 8, 2012. Available at: http://cnx.org/content/m44201/1.2/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2012, August 8). Java OOP: The this and super Keywords. Retrieved from the Connexions Web site: http://cnx.org/content/m44201/1.2/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Java OOP: The this and super Keywords." Connexions. August 8, 2012. http://cnx.org/content/m44201/1.2/.

Chicago Manual of Style (Note):

Richard Baldwin, "Java OOP: The this and super Keywords," Connexions, August 8, 2012, http://cnx.org/content/m44201/1.2/.

Chicago Manual of Style (Reference, in Author-Date style):

Baldwin, R. 2012. Java OOP: The this and super Keywords. Connexions, August 8, 2012. http://cnx.org/content/m44201/1.2/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Java OOP: The this and super Keywords. Connexions. 8 Aug. 2012 <http://cnx.org/content/m44201/1.2/>.