OpenStax CNX

Sections
You are here: Home » Content » Java1614: Polymorphism and the Object Class

About: Java1614: Polymorphism and the Object Class

Module by: R.G. (Dick) Baldwin. E-mail the author

View the content: Java1614: Polymorphism and the Object Class

Metadata

Name: Java1614: Polymorphism and the Object Class
ID: m44190
Language: English (en)
Summary: Baldwin discusses the use of the Object class as a completely generic type for storing references to objects of subclass types, and explains how that results in a very useful form of runtime polymorphism.
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: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Copyright Holders: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Maintainers: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)

Latest version: 1.3 (history)
First publication date: Jul 26, 2012 10:25 am +0000
Last revision to module: Jan 1, 2013 11:01 pm +0000

Downloads

PDF: m44190_1.3.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m44190_1.3.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.3 Jan 1, 2013 11:01 pm +0000 by R.G. (Dick) Baldwin
Changes:
update

Version: 1.2 Dec 12, 2012 7:38 am +0000 by R.G. (Dick) Baldwin
Changes:
Update title

Version: 1.1 Jul 27, 2012 4:03 pm +0000 by R.G. (Dick) Baldwin
Changes:
Update metadata

How to Reuse and Attribute This Content

If you derive a copy of this content using a OpenStax-CNX 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: Java1614: Polymorphism and the Object Class
  • the OpenStax-CNX URL where the work can be found: http://cnx.org/content/m44190/1.3/

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. Java1614: Polymorphism and the Object Class, OpenStax-CNX Web site. http://cnx.org/content/m44190/1.3/, Jan 1, 2013.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Java1614: Polymorphism and the Object Class [OpenStax-CNX Web site]. January 1, 2013. Available at: http://cnx.org/content/m44190/1.3/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2013, January 1). Java1614: Polymorphism and the Object Class. Retrieved from the OpenStax-CNX Web site: http://cnx.org/content/m44190/1.3/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Java1614: Polymorphism and the Object Class." OpenStax-CNX. January 1, 2013. http://cnx.org/content/m44190/1.3/.

Chicago Manual of Style (Note):

Richard Baldwin, "Java1614: Polymorphism and the Object Class," OpenStax-CNX, January 1, 2013, http://cnx.org/content/m44190/1.3/.

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

Baldwin, R. 2013. Java1614: Polymorphism and the Object Class. OpenStax-CNX, January 1, 2013. http://cnx.org/content/m44190/1.3/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Java1614: Polymorphism and the Object Class. OpenStax-CNX. 1 Jan. 2013 <http://cnx.org/content/m44190/1.3/>.