Question: CS 102 HW 4 Chapter 10 Code your own interfaces Although this is not a lab, you are encouraged to use an IDE do the

CS 102 HW 4 Chapter 10 Code your own interfaces Although this is not a lab, you are encouraged to use an IDE do the coding, to avoid syntax errors. However, even if your code does not compile due to syntax errors, you can still submit as homework to get partial credits. 1. Interface Design, not in any package. It has two methods: version it takes no parameter and returns an int value assign it takes a parameter of String type, and returns nothing . O 2. Interface Smart, in package gardGame. It has one constant: LEVEL of int type, of value 5 It has two methods: restart it takes a parameter of Date type, and returns a boolean value process it takes two parameters of Object type, and returns nothing CS 102 HW 4 Chapter 10 Code your own interfaces Although this is not a lab, you are encouraged to use an IDE do the coding, to avoid syntax errors. However, even if your code does not compile due to syntax errors, you can still submit as homework to get partial credits. 1. Interface Design, not in any package. It has two methods: version it takes no parameter and returns an int value assign it takes a parameter of String type, and returns nothing . O 2. Interface Smart, in package gardGame. It has one constant: LEVEL of int type, of value 5 It has two methods: restart it takes a parameter of Date type, and returns a boolean value process it takes two parameters of Object type, and returns nothing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
