CIS 247 DeVry Week 6 Quiz Latest

admin   June 29, 2017   Comments Off on CIS 247 DeVry Week 6 Quiz Latest

CIS 247 DeVry Week 6 Quiz Latest

Downloading is very simple, you can download this Course here:

http://wiseamerican.us/product/cis-247-devry-week-6-quiz-latest/

Or

Contact us at:

SUPPORT@WISEAMERICAN.US

CIS 247 DeVry Week 6 Quiz Latest

CIS247

CIS 247 DeVry Week 6 Quiz Latest

  1. Question : (TCO 7) An instance of an abstract class can be created using _____.
  • the new operator
  • encapsulation
  • a public accessor
  • None of the above

Question 2. Question : (TCO 7) An abstract _____ is used only to form related subclasses using inheritance since it cannot be instantiated.

  • method
  • class
  • object
  • attribute

Question 3. Question : (TCO 7) Which of the following statements is false?

  • An abstract method is a method signature without a method body and can be found in an abstract class.
  • If a subclass extends an abstract base class, the subclass must implement the abstract method(s) from the base class, or else call itself abstract also.
  • Any method in an abstract class is considered an abstract method.
  • Abstract methods are inherited.

Question 4. Question : (TCO 7) Which of the following classes is most likely an abstract class?

  • Vehicle
  • Blue Spruce
  • Hand Saw
  • Goldfish

Question 5. Question : (TCO 7) In terms of object-oriented programming, a(n) _____ is a mechanism that forces a programmer to adhere to specific rules when developing an application.

  • contract
  • base class
  • requirements analysis
  • method signature
  • None of the above

Question 6. Question : (TCO 7) _____ and _____ can contain abstract methods.

  • Abstract classes; base classes
  • Abstract classes; interfaces
  • Interfaces; base classes
  • None of the above

Question 7. Question : (TCO 7) Multiple inheritance is defined as the ability to do what?

  • Identify multiple superclasses for a single class
  • Create multiple subclasses from a single superclass
  • Override multiple methods in a base class
  • Overload multiple superclasses for a single class

Question 8. Question : (TCO 7) Which of the following class definitions defines a legal abstract class?

  • class abstract Dog { void grow(); }
  • public abstract class Dog { void eat (){} }
  • abstract private class Dog { void eat (); }
  • public class abstract Dog { void eat (){} }

Question 9. Question : (TCO 7) Which of the following declares an abstract method in an abstract Java class?

  • public abstract calc();
  • public abstract void calc();
  • public void calc() {}
  • public void abstract calc();

Question 10. Question : (TCO 7) Which of the following statements is true?

  • Interfaces contain a list of already implemented methods.
  • Interfaces contain a list of pre-defined attributes with default values .
  • All methods defined in an interface must be implemented by any class that chooses to implement the interface.
  • At least one of the methods defined in an interface must be implemented by any class that chooses to implement the interface.