ProgFunda2 - CIS3023: Programming Fundamentals for CIS...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CIS3023: Programming Fundamentals for CIS Majors II Summer 2010 Ganesh Viswanathan Programming in JAVA II (A Whirlwind Tour of Java) Course Lecture Slides 17 May 2010 JAVA Duke , the JAVA mascot Java 1.0 was first released by Sun Microsystems in 1995. Java became popular for web programming. " Write Once, Run Anywhere " (WORA) philosophy. Key design principles:- Platform independence- Security- Stability How Java works! Programming in JAVA I Basic concepts in Java Values Variables Complex data/objects Methods Expressions Conditionals Loops Programming in JAVA English to JAVA translation: Piece of data: value Kind of data: type Place to store a value: variable Structured group of variables: object Kind of object: class Object of a particular class: class instance Variable belonging to an object: instance variable Programming in JAVA Values and Types : All data values in Java have a type The type of a value determines: Allowed operations Memory representation Allowed operations Conversion to other types Allowed operations Types are program invariants Help to catch errors Default initial values (if omitted) are based on type Programming in JAVA Primitive Types: EIGHT basic pre-defined types: values on which Java can operate directly....
View Full Document

This note was uploaded on 05/27/2011 for the course CIS 3023 taught by Professor Dobbins during the Summer '08 term at University of Florida.

Page1 / 21

ProgFunda2 - CIS3023: Programming Fundamentals for CIS...

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

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