Question: The code above has class smells that don't use the methods of its superclass. This Smell is part of the object orientation abuser: 1). Determine

 The code above has class smells that don't use the methods

The code above has class smells that don't use the methods of its superclass. This Smell is part of the object orientation abuser: 1). Determine the smell type of the code above! 2). Create a solving code against the smell above!

1. public class Kendaraan 2. { 3. protected void Drive() { } 4. } 5. 6. public class Mobil : Kendaraan 7. { 8. } 9. 10. public class Pesawat : Kendaraan { 12. } 11

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!