Question: QUESTION 25 Like object-oriented programs, procedural programs are data centered. True False 2 points QUESTION 26 Best practices are the result of finding the most
QUESTION 25 Like object-oriented programs, procedural programs are data centered. True False 2 points
QUESTION 26 Best practices are the result of finding the most successful set of test runs for an application. True False 2 points
QUESTION 27 C#, Java, and Objective-C have automatic garbage collection enabled by default. True False 2 points
QUESTION 28 nar002-1.jpg Given the inheritance tree in the accompanying figure, which is a list of all superclasses? Vehicle Vehicle, UnpoweredVehicle, PoweredVehicle Vehicle, UnpoweredVehicle, PoweredVehicle, Bicycle, Skateboard, Motorcycle, Car Cannot be determined from the diagram 2 points
QUESTION 29 Objective-C, C#, and Java are all derivatives of the C programming language. True False 2 points
QUESTION 30 The C programming language is considered what type of language? Object-oriented (OO) Scripting Event-driven Procedural 2 points
QUESTION 31 In the following code, how many Rectangle objects are instantiated? Rectangle rect1; Rectangle rect2; Rectangle rect3 = null; Rectangle rect4 = new Rectangle(3.0, 1.5); 0 1 2 3 2 points
QUESTION 32 In C#, Java, and Objective-C, how many parent classes can a class have? Depends on the language 0 1 More than 1 2 points
QUESTION 33 nar001-1.jpg Given the UML class diagram seen in the accompanying figure, what is the classs name? Rectangle double getArea Unknown 2 points
QUESTION 34 Which of the following is an example of dynamic method invocation? Running a superclass method from a subclass object Running an objects method from another programs main method. Running an objects private method from another method within that same object. Running System.out.println(Hello World!);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
