Fundamentals of Computer Science II (CSC-152 99F)

Class 10: Conditionals

Back to Subclassing, Inheritance, and Polymorphism. On to Loops.

Held Friday, September 10, 1999


Today, we will move from high-level consideration of classes and objects to more detailed consideration of the imperative internals of objects. In particular, we will consider the basic conditional statements of Java, which let your methods choose between alternatives.





Boolean Values

Control Structures with Booleans

Simple Conditionals

Other Conditionals

Conditionals Lab

Do sections J4.2 and J4.4 of lab J4: conditionals.

What are some other ways we might use conditionals with the Point class?

What are some other ways in which you might expect to use conditionals?


Tuesday, 10 August 1999

Thursday, 9 September 1999

Back to Subclassing, Inheritance, and Polymorphism. On to Loops.

Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

This page may be found at

Source text last modified Thu Sep 9 22:08:12 1999.

This page generated on Tue Sep 21 11:09:55 1999 by Siteweaver. Validate this page's HTML.

Contact our webmaster at