OpenStax CNX

Sections
You are here: Home » Content » Jb0115: Java OOP: First Program

About: Jb0115: Java OOP: First Program

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

View the content: Jb0115: Java OOP: First Program

Metadata

Name: Jb0115: Java OOP: First Program
ID: m45220
Language: English (en)
Summary: The purpose of this module is to present the first complete Java program of the collection that previews the most common forms of the three pillars of procedural programming: sequence, selection, and loop. The program also previews calling a method, passing a parameter to the method, and receiving a returned value from the method.
Subject: Science and Technology
Keywords: Java, loop, object-oriented programming, selection, sequence
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.2 (history)
First publication date: Nov 25, 2012 8:17 am -0600
Last revision to module: Jan 2, 2013 1:11 pm -0600

Downloads

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

Version: 1.1 Nov 25, 2012 8:26 am -0600 by R.G. (Dick) Baldwin
Changes:
Created module

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: Jb0115: Java OOP: First Program
  • the OpenStax-CNX URL where the work can be found: http://cnx.org/content/m45220/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. Jb0115: Java OOP: First Program, OpenStax-CNX Web site. http://cnx.org/content/m45220/1.2/, Jan 2, 2013.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Jb0115: Java OOP: First Program [OpenStax-CNX Web site]. January 2, 2013. Available at: http://cnx.org/content/m45220/1.2/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2013, January 2). Jb0115: Java OOP: First Program. Retrieved from the OpenStax-CNX Web site: http://cnx.org/content/m45220/1.2/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Jb0115: Java OOP: First Program." OpenStax-CNX. January 2, 2013. http://cnx.org/content/m45220/1.2/.

Chicago Manual of Style (Note):

Richard Baldwin, "Jb0115: Java OOP: First Program," OpenStax-CNX, January 2, 2013, http://cnx.org/content/m45220/1.2/.

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

Baldwin, R. 2013. Jb0115: Java OOP: First Program. OpenStax-CNX, January 2, 2013. http://cnx.org/content/m45220/1.2/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Jb0115: Java OOP: First Program. OpenStax-CNX. 2 Jan. 2013 <http://cnx.org/content/m45220/1.2/>.