How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12485
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

1. (TCO 7) Instances of a(n) _____ cannot be created in code.

This answer was rated:

1. (TCO 7) Instances of a(n) _____ cannot be created in code. (Points : 2)
public class
abstract class
public method
abstract method


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


3. (TCO 7) Which of the following statements is false? (Points : 2)
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.


4. (TCO 7) Which of the following classes is most likely an abstract class? (Points : 2)
Vehicle
BlueSpruce
HandSaw
Goldfish


5. (TCO 7) _____ and _____ can be used to implement a contract in an object-oriented application. (Points : 2)
base class; method
abstract class; interface
abstract method; interface
abstract class; method
None of the above


6. (TCO 7) _____ and _____ can contain abstract methods. (Points : 2)
Abstract classes; base classes
Abstract classes; interfaces
Interfaces; base classes
None of the above


7. (TCO 7) C++ allows for the implementation of multiple inheritance whereas .Net and Java do not. However, in languages such as .Net and Java, _____ can be used to simulate multiple inheritance. (Points : 2)
abstract methods
base classes
interfaces
implementations


8. (TCO 7) Which of the following class definitions defines a legal abstract class? (Points : 2)
public abstract class Plant {
abstract void grow();
}
public class abstract Plant {
abstract void grow ();
}
public class abstract Plant {
abstract void grow (){}
}
abstract private class Plant {
abstract void grow ();
}


9. (TCO 7) Which of the following declares an abstract method in an abstract Java class? (Points : 2)
public abstract void method();
public void method() {}
public void abstract Method();
public abstract void method() {}


10. (TCO 7) Which of the following statements is false? (Points : 2)
Interfaces contain a list of methods to be implemented.
Interfaces are classes with one or more unimplemented methods.
Interfaces can be used to implement a form of multiple inheritance.
Interfaces can be implemented by regular classes.
Hi,
Welcome back and thank you for asking me.
What is the deadline?
Customer: replied 3 years ago.

Oh I have about 50 minutes left.

ok, please wait.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 3 other Homework Specialists are ready to help you