Details of this Paper

(TCO 7)




1. (TCO 7) If a class contains an abstract method, the class must be declared _____. (Points: 2);abstract;public;private;None of the above;Question 2.2. (TCO 7) What is an abstract class? (Points: 2);A generalized class used only to create related subclasses;A class without any superclasses;A class from which we create many instances;Any subclass with more than one superclass;Question 3.3. (TCO 7) What is an abstract method? (Points: 2);Any method in an abstract class;A method without a body that is declared with the reserved word abstract;A method which cannot be inherited;A method that takes an abstract object as a parameter and returns nothing;Question 4.4. (TCO 7) Which of the following classes is most likely an abstract class? (Points: 2);Vehicle;BlueSpruce;HandSaw;Goldfish;Question 5.5. (TCO 7) In terms of object-oriented programming, a _____ is a mechanism that forces a programmer to adhere to specific rules when developing an application. (Points: 2);contract;base class;requirements analysis;method signature;None of the above;Question 6.6. (TCO 7) An abstract method can be declared in which of the following? (Points: 2);Abstract classes;Any base class;Concrete classes;A and B;A and C;B and C;Question 7.7. (TCO 7) Which language allows implementation of multiple inheritance using only base classes? (Points: 2);Java;C#;C++;All of the above;Question 8.8. (TCO 7) Which of the following class definitions defines a legal abstract class? (Points: 2);class abstract Dog;void Eat();public abstract class Dog;void Eat (){};abstract private class Dog;void Eat ();public class abstract Dog;void Eat (){};Question 9.9. (TCO 7) Which of the following declares an abstract method in an abstract C# class? (Points: 2);public abstract Calc();public abstract void Calc();public void Calc() {};public void abstract Calc();Question 10.10. (TCO 7) Which of the following statements is true? (Points: 2);Interfaces contain a list of methods to be implemented.;Interfaces are classes with one or more unimplemented methods.;Interfaces can be instantiated just like regular classes.;Besides the naming convention, there is no difference between an interface and a class.


Paper#66429 | Written in 18-Jul-2015

Price : $22