Develop a Computer class that describes your computer. The class must have at least five attributes comprised of a minimum of three different data types. At least one method should be defined in your class. Prepare a program that utilizes the Computer class and prompts the user for information about their existing computer followed by information about a future, more desirable computer. Use Scanner class for data input. You must use at least two variables of data type integer and calculate or quantify the improvement over the existing computer using these variables. Display a table that displays all the information to the screen, such as the attribute values and the results of the calculations. Your program should create at least two instances of your Computer class.


0 comments