1 / 3

CIS 247 DEVRY WEEK 6 QUIZ LATEST

<br>Visit Below Link, To Download This Course:<br><br>https://www.tutorialsservice.net/product/cis-247-devry-week-6-quiz-latest/<br><br>Or <br>Email us on<br>SUPPORT@TUTORIALSSERVICE.NET<br><br>CIS 247 DeVry Week 6 Quiz Latest<br>CIS247<br>CIS 247 DeVry Week 6 Quiz Latest<br>1. Question : (TCO 7) An instance of an abstract class can be created using _____.<br>• the new operator<br>• encapsulation<br>• a public accessor<br>• None of the above<br>Question 2. Question : (TCO 7) An abstract _____ is used only to form related subclasses using inheritance since it cannot be instantiated.<br>• method<br>• class<br>• object<br>• attribute<br>

Download Presentation

CIS 247 DEVRY WEEK 6 QUIZ LATEST

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 247 DEVRY WEEK 6 QUIZ LATEST Visit Below Link, To Download This Course: https://www.tutorialsservice.net/product/cis-247-devry-week-6-quiz-latest/ Or Email us on SUPPORT@TUTORIALSSERVICE.NET 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?

  2.    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.

  3.  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. 

More Related