Skip ActivitiesSkip Search Forums

Search Forums

Skip Administration

Administration

Topic outline

 

Java Introduction

You will receive a thorough introduction to the basic syntax and structure of the Java programming language. You will create text-based Java applications that define variables and arrays and that use if statements, switch/case statements, for loops and while loops. You will define classes and use those classes to create applications. You will learn to create new classes based on existing classes using inheritance. You will create graphical applications and applets. A background in programming or a familiarity with C++ is helpful but not necessary for this class. You will need a Java compiler. Compilers are available for download.

To get started:

  • Click on the Syllabus link below to find information about the course and the book
  • Click on Introductions link to meet your instructor and introduce yourself
  • Post any questions you have in Questions and Comments
 
1

Lesson 1: Getting Started

The advantage that Java has over many programming languages is that it is platform independent. This means you can create a Java application and it can run without being recompiled on any platform that has a Java Virtual Machine (VM). The Java VM acts as an interface between your Java application and the operating system where it is running.

Java was built on C++. If you are familiar with C or C++ you will see many similarities in the syntax and structure of the language. The developers of Java also looked at improving upon C++, so you will notice that you do not have to program pointers and some common C++ logic errors are now syntax errors in Java. For example you cannot create a conditional statement using the assignment operator, the single equal sign (=).

Show only topic 1
Skip Recent Activity

Recent Activity

Activity since Wednesday, 1 September 2010, 10:30 PM

Nothing new since your last login

Skip Online Users

Online Users

(last 5 minutes)
None
Skip Latest News

Latest News

(No news has been posted yet)