20091118-main-Primitives-I

20091118-main-Primitives-I - CSE115:Introductionto...

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

View Full Document Right Arrow Icon
Click to edit Master subtitle style CSE115: Introduction to  Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:50 645-4739 alphonce@buffalo.edu
Background image of page 1

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

View Full DocumentRight Arrow Icon
Announcements Exam #3 was handed back today. If you were not in class… shame of you!   :-) come to office hours to pick up your test
Background image of page 2
Agenda Today: Options for running a program main Primitives integral, floating point, boolean representations wrapper classes Coming up:
Background image of page 3

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

View Full DocumentRight Arrow Icon
Running a Java program Up to this point we have used the  DrJava interactions pane to run our  programs: instantiate the “top-level” class of our  programs e.g.  Welcome to DrJava.
Background image of page 4
The ‘main’ method How can we run a Java program without  DrJava? The ‘main’ method defines a starting point for a Java program header: public static void main(String [] args)
Background image of page 5

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

View Full DocumentRight Arrow Icon
public static void main(String [] args)
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 02/13/2011 for the course CSE 115 taught by Professor Decker during the Fall '08 term at SUNY Buffalo.

Page1 / 12

20091118-main-Primitives-I - CSE115:Introductionto...

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