Question: 1.3 mark Done a class for Screen with two private variables: maker Sting and stre(int) Write a constructor with two parameters. The first parameter should

 1.3 mark Done a class for Screen with two private variables:

1.3 mark Done a class for Screen with two private variables: maker Sting and stre(int) Write a constructor with two parameters. The first parameter should inimalce the maker variable and the second parameetroud other must be an odd number between 1 and 25 inches Write the setters and getters methods making sure to set the size value to a valid number fodd number between 1 and 2 och 2. [2 marks] Define a class for "Laptop with two private variables computer screen screen and price double o Write a constructor with two parameters. The rest parameter should initiate the computer Screen variable and the second parametro 4.17 marks in a test class with main method, write a code to create a Laptop object with Screen Dell, 15 and price 2500 I a For the toolbar, press ALT F10 C) or ALT-INF10 (Mac) BIU. Paragraph Anal 14px 1.3 mark Done a class for Screen with two private variables: maker Sting and stre(int) Write a constructor with two parameters. The first parameter should inimalce the maker variable and the second parameetroud other must be an odd number between 1 and 25 inches Write the setters and getters methods making sure to set the size value to a valid number fodd number between 1 and 2 och 2. [2 marks] Define a class for "Laptop with two private variables computer screen screen and price double o Write a constructor with two parameters. The rest parameter should initiate the computer Screen variable and the second parametro 4.17 marks in a test class with main method, write a code to create a Laptop object with Screen Dell, 15 and price 2500 I a For the toolbar, press ALT F10 C) or ALT-INF10 (Mac) BIU. Paragraph Anal 14px

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!