Devry CIS 247 Week 6 Quiz Latest

$12

Quantity:

Description

Devry CIS 247 Week 6 Quiz Latest

  1. 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

BlueSpruce

HandSaw

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.

 

DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 247 Week 6 Quiz Latest, then contact us through call or live chat.

Devry CIS 247 Week 6 Quiz Latest

Best Devry CIS 247 Week 6 Quiz Latest

Devry CIS 247 Week 6 Quiz Latest