lecture18

lecture18 - CS111 Slides for Prof Steinberg ʼ s lecture 1...

Info iconThis preview shows pages 1–4. 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 Document Right Arrow Icon

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

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

Unformatted text preview: CS111: Slides for Prof. Steinberg ʼ s lecture 1 Lecture 18 CS111: Intro to Computer CS111: Intro to Computer Science Science Lecture 18 Linked Lists CS111: Slides for Prof. Steinberg ʼ s lecture 2 Lecture 18 Review: Classes and Review: Classes and Objects Objects • In a computer, all data has a type : • The type says how to interpret the bits – What values are possible – What operations you can do • In Java, there are two kinds of types: – Primitive types, e.g. int, boolean, double – CS111: Slides for Prof. Steinberg ʼ s lecture 2 Lecture 18 Review: Classes and Review: Classes and Objects Objects • In a computer, all data has a type : • The type says how to interpret the bits – What values are possible – What operations you can do • In Java, there are two kinds of types: – Primitive types, e.g. int, boolean, double – Classes CS111: Slides for Prof. Steinberg ʼ s lecture 3 Lecture 18 Review: Classes and Review: Classes and Objects Objects • In Java, there are several kinds of classes – Special classes with special syntax – Strings “ …” – Arrays […] – Built in library classes – Eg Math – Classes defined in .java files CS111:...
View Full Document

{[ snackBarMessage ]}

Page1 / 15

lecture18 - CS111 Slides for Prof Steinberg ʼ s lecture 1...

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

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