Menu

[Solved]Kind Design Pattern Would Use Question Used Design Pattern Apparently Bad See Score Q37163395

What kind of design pattern would you use with thisquestion? I used design pattern, but apparently this is bad as youcan see in my score.

ENSEA70 2. Consider a car manufacturer that assembles different trim levels of a car: i) Basic-has all the basic features of

ENSEA70 2. Consider a car manufacturer that assembles different trim levels of a car: i) Basic-has all the basic features of a car, e.g. basic engine, basic seats, etc i) iii) Luxury – has everything the Basic version has except that it has a larger engine as except that it has a fuel-injection to be created and and leather seats instead of the basic engine and seats. Sports-has everything the Basic version h engine and bucket seats instead of the basic engine and seats. (a) Design a system that can easily allow other trim levels of a car added to the system. State the design pattem (if any) that you use Draw the Class diagram. You are free not to include any methods in your class diagram, but you must include the two characteristics “engine” and “seats”ed Cor tlote: Concrete Basic Aル (b) Assume that all the classes in your diagram in 02a) above had been implemented. Write the Java code for the main () method to create one instance of the Luxury trim, and one instance of the Sports trim. You may give your public class any name that you like. or (5 marks) 3 of 6 Show transcribed image text ENSEA70 2. Consider a car manufacturer that assembles different trim levels of a car: i) Basic-has all the basic features of a car, e.g. basic engine, basic seats, etc i) iii) Luxury – has everything the Basic version has except that it has a larger engine as except that it has a fuel-injection to be created and and leather seats instead of the basic engine and seats. Sports-has everything the Basic version h engine and bucket seats instead of the basic engine and seats. (a) Design a system that can easily allow other trim levels of a car added to the system. State the design pattem (if any) that you use Draw the Class diagram. You are free not to include any methods in your class diagram, but you must include the two characteristics “engine” and “seats”ed Cor tlote: Concrete Basic Aル (b) Assume that all the classes in your diagram in 02a) above had been implemented. Write the Java code for the main () method to create one instance of the Luxury trim, and one instance of the Sports trim. You may give your public class any name that you like. or (5 marks) 3 of 6

Expert Answer


Answer to What kind of design pattern would you use with this question? I used design pattern, but apparently this is bad as you c… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *