Question: Write a Java program with the following features: One class called Computer with attributes: CPU (String), Motherboard (String) and Manufacturer (String), Speed (double). a) Insert
Write a Java program with the following features: One class called Computer with attributes: CPU (String), Motherboard (String) and Manufacturer (String), Speed (double). a) Insert a list of computers (two to three) from the keyboard and serialize them in a file called computers. b) Read the list of computers from the file and print them on the screen. ---- Write a Java program that takes Computers from keyboard, puts them in a collection and then does the following: a. it reverses the order in which they were entered in the collection ex :arraylist and then it prints them b. it searches for a certain computer and it prints the frequency of this computer in the collection.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
