- 1
Getters and setters
If we have class vehicle which has following attributes names, weight, seats, model, color, engine, fuel_variant Now do I need to set the setter and getter method for each attribute Won't it make the code long and difficult to read and understand
1 ответ