Question: java languge java languge java languge java languge Click Submit to complete this assessment. Question 707 Question 7 6 points 1. [3 mark] Define a

java languge
java languge
java languge
java languge
Click Submit to complete this assessment. Question 707 Question 7 6 points 1. [3 mark] Define a class for: "Screen with two private variables: maker (String) and size (int). o Write a constructor with two parameters. The first parameter should initialize the maker variable and the second parameter should initiate these variable. The size value must be an odd number between 11 and 25 inches. o Write the setters and getters methods making sure to set the size value to a valid number (odd number between 11 and 25 inches 2. [2 marks] Define a class for: o "Laptop" with two private variables: copmputer Screen (Screen) and price (double) o Write a constructor with two parameters. The first parameter should initialize the computerScreen variable and the second parameter should initialize the price variable 4. [1 marks] in a test class with main method, write a code to create a Laptop object with Screen: Dell, 15 and price 2500 TA For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). I US Paragraph Arial 14px O WORDS POWERED BY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
