java234programmingintro

java234programmingintro - Introduction to Programming...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Programming Object Oriented Programming using Java
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Topics: Eclipse Integrated Development Environment (IDE) Java basic rules Java "Building Blocks" Data Types Working with data types (e.g., math) Java "Building Blocks" Objects Working with objects (i.e., sending messages) Compile-time and run-time errors
Background image of page 2
Concepts and Definitions Programming Objects Real Objects Software Objects Object-Oriented Programming Object Oriented Languages (Java, C++,  Smalltalk) and their vendors Eclipse
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Eclipse IDE Installing Eclipse (remember to install JDK first) Setting up the environment Creating a new project packages Creating classes One class has a main method Choosing proper file and class names Entering your Java code
Background image of page 4
Eclipse (continued) Running your first program Entering code Compile/Build Running the program after it successfully compiles Testing the program Debugging (i.e., fixing any errors in program  logic) Saving your program
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Some Java Basics Class name and file name must be the same Source files have the extension .java Compiled (byte code) files have the extension .class The build (i.e., compile) process creates a .class file from the  .java file
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/16/2008 for the course CIS 234 taught by Professor Dear during the Spring '08 term at Cal Poly Pomona.

Page1 / 18

java234programmingintro - Introduction to Programming...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online