Computer Information System

Computer Information System

Chapter 2: Introduction to Java Programming

$. Invoice

$. Valid identifiers

$. A main method

$. How to work with string variables

$ Objects and call methods

$. Three values from the user

$. Invoice application

$. TestScoreApp

Chapter 3: How to work with data

$. How to work with casting

$. How to work with NumberFormat class

$. How to work with Math class

$. The formatted Invoice application

Chapter 4: How to code control statements

$. The enhanced Invoice application

$. The code for the Future Value application

$. The Future Value application with a static method

Chapter 5: How to validate input data

$. How to catch exceptions

$. FutureValueExceptionApp

$. How to prevent exceptions from being thrown

$. Gets a valid double value within a specified range

$. How to use generic method to validate an entry

$. Future Value application with data validation

Section 2: Object-oriented programming with Java

In the first section, you learned how to use classes that are provided as part of the Java API. For instance, how to use the Math class, how to use the NumberFormat class. That's one part of object-oriented programming.

Besides the classes provided by the API, you can create your own classes. That's the other part of object-oriented programming, that's what the four chapters in this section teach you to do.

Chapter 6: How to define and use classes

(This chapter shows you how to create and use your own classes in Java application. Here, you'll learn how to create classes that include regular fields and methods as well as classes that contain static fields and methods.)

$. The architecture of a three-tiered application

$. A class diagram for the Product class

$. The code for the Product class

$. The syntax for coding constructors (4 differ)

$. The syntax for using the this keyword

$. How to create an object

$. How to call methods of an object

$. A ProductDB class that returns a Product object

$. How to code static fields and methods

$. The code of the LineItemApp class

$. The code of the validator class

$. The code of the LineItem class

Chapter 7: How to work with inheritance

Inheritance is one of the key concepts of object-oriented programming. It lets you create a class that's based on another class.

$. The code for the ProductApp class

$. The code for the Product class

$. The code for the Book and Software classes

$. The code for the ProductDB class

Chapter 8: How to work with interfaces

You'll learn how to use one of these interfaces, Cloneable, in this chapter.

$. The ProductMaintApp class

$. The DAOFactory and ProductTextFile classes

Courses

Google

Additional

Press

Jobs

Corporate

Investor

Contact

Contact Us

Google

Google

Google

Site hosted by Angelfire.com: Build your free website today!