Skip to content Skip to navigation

Connexions

You are here: Home » Content » Jy0010: Preface to OOP with Java

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

Jy0010: Preface to OOP with Java

Module by: Richard Baldwin. E-mail the author

Summary: This module serves as the Preface to a collection titled Object-Oriented Programming (OOP) with Java.

Welcome

Welcome to my collection titled Object-Oriented Programming (OOP) with Java .

During the past eighteen years, I have published hundreds of Java and OOP programming tutorials on a variety of different topics and websites. I have also developed the teaching materials for several different college-level programming courses in Java/OOP.

A work in progress

This is a work in progress. I am currently combining selected content from those earlier endeavors with new material that I am developing to create a freely downloadable E-book that covers Java/OOP programming from programming fundamentals to very advanced OOP concepts.

Among other things, the collection contains the material that I use to teach the following three courses at Austin Community College in Austin Texas:

The collection also includes:

Because it is a work in progress, the collection is growing on a daily basis. If you don't find what you need today, come back and take another look in a week or two and you may find what you need then.

Download options

I encourage you to take advantage of all of the download options (most of which are free) that cnx.org has to offer. You can also customize this material for use in your organized courses or for personal self study.

Feedback is appreciated

And if you find the material useful, I would like to hear more about how you are using it.

Getting started with Java programming

As is the case with most worthwhile endeavors, Java programming requires that you have some tools to begin. Fortunately, all of the tools that you need to get started programming in Java are available for free downloading.

In addition to a computer with web access, you will need:

  • The Java Development Kit (JDK) and Java Runtime Engine (JRE)
  • The Java API documentation
  • A suitable text editor

The JDK and the JRE

The JDK, the JRE, and the API documentation are all freely available from Oracle. As of December 2012, you will find links to that material on the web page titled Java Platform Standard Edition 7 Documentation at http://docs.oracle.com/javase/7/docs/ (The links given in this module may change as new versions of Java are released, but newer versions shouldn't be too difficult to locate with a web search.)

Download

The JDK and the included JRE can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/index.html That page provides several download options. Beginners should download the Java Platform (JDK) for the latest released version. ((The JRE is included in the JDK package, so you don't need to download both.)

Install

You will also probably need to follow the installation instructions for your computer that are available at http://docs.oracle.com/javase/7/docs/webnotes/install/index.html Pay particular attention to the instructions for setting the path and classpath environment variables. This is where many students stumble. Another useful document on the path and classpath is available at http://docs.oracle.com/javase/tutorial/essential/environment/paths.html

The Java API documentation

The Java Platform, Standard Edition 7 API Specification is available at http://docs.oracle.com/javase/7/docs/api/index.html

Also see my Java OOP documentation module for instructions on how to use the documentation.

A suitable text editor

The module titled Jb0110: Java OOP: Programming Fundamentals, Getting Started explains how to use a text editor to create Java program code. Just about any text editor will do as long as you can ensure that the file name extension is .java. Something as simple as Windows Notepad or Windows WordPad would probably be best for your first few simple programs.

Soon, however, you will probably want to upgrade to an editor that uses different colors to identify the different parts of your program. My favorite color-coded editor is the free version of JCreator . (The free version seems to have disappeared from their web page so you may have trouble finding it.)

Another free editor is DrJava . An advantage of this editor is that it can be run from a USB drive with no installation required. Another possibility, although I have never had occasion to use it, is jGRASP . Numerous other Java color-coded editors, including BlueJ are available for free downloading on the web.

Miscellaneous

This section contains a variety of miscellaneous information.

Note:

Housekeeping material
  • Module name: Jy0010: Preface to Object-Oriented Programming (OOP) with Java
  • File: Jy0010.htm
  • Published: 11/16/12
  • Revised: 01/02/13

Note:

Disclaimers:

Financial : Although the Connexions site makes it possible for you to download a PDF file for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, you should be aware that some of the HTML elements in this module may not translate well into PDF.

I also want you to know that I receive no financial compensation from the Connexions website even if you purchase the PDF version of the module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale on Amazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made and published without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks