Kizspy.me
result will be 0.
• All source code files.java in the projects will be created in the default package of the NetBean
(2 marks) Read PE instructions at the bottom of the exam paper.
Do not pay attention to the real meaning of objects, variables, and their values in the questions below.
Write a class Suitcase (in the default package of the NetBean) with the following information:
Suitcase
Where:
2 of 3
Paper No: 1
Zoom
-id: int
- name: String
- capacity: double
- maxWeight: int
+ 100%
Suitcase () default constructor

Suitcase(id:int,
maxWeight:int)
name:String,
capacity:double,
parameterized constructor that sets
values for id name canacity and max Weight
Close