Question: Software Design and Java 2. Answer by true (T) or false (F) with justification if false. (20 points) 1 Encapsulation means that the same named
Software Design and Java
2. Answer by true (T) or false (F) with justification if false. (20 points) 1 Encapsulation means that the same named behavior may be completed differently for different object classes. 2 An instance variable belongs to the class in which it is declared 3 Aggregation is a stronger form of composition. 4 In an e-commerce information system the relationship of a shopping cart class to a shopping cart item class would be a generalization/specialization. 5 Sequence diagrams model how events can change the state of an object class over its lifetime. 6 An instance variable belongs to the class in which it is declared 7 Encapsulation is detail hiding (implementation hiding), while abstraction is data hiding (information hiding) 8 Class diagram describes the structure of a system 9 If we don't prefix modifiers to a method, the method is only accessible within the same package. 10 An instance initializer is invoked before constructors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
