Question

In Java Question 1 The method toString takes multiple arguments and returns a string. True False...

In Java

  1. Question 1

    The method toString takes multiple arguments and returns a string.

    1. True
    2. False
  2. Question 2

    Inheritance is also known as the ___________________.

    Select the correct answer

    1. knows-a relationship

    2. is-a relationship

    3. has-a relationship

    4. uses-a relationship

  3. Question 3

    Which of the following is NOT a superclass/subclass relationship?

    Select the correct answer

    1. Sailboat/speedboat

    2. Employee/Hourly Employee

    3. Vehicle/Car

    4. none of the above

  4. Question 4

    Overloaded methods are bonded using ______________ binding, while overridden methods are bonded using _______________ binding.

    Select the correct answer

    1. static, dynamic

    2. dynamic, static

Homework Answers

Answer #1
Question 1:
The method toString does not takes multiple arguments and returns a string.
Answer:
False

Question 2:
Inheritance is known as the is-a relationship.
Answer:
is-a relationship

Question 3:
Sailboat/speedboat NOT a superclass/subclass relationship
Answer:
Sailboat/speedboat

Question 4:
Overloaded methods are bonded using static binding, while overridden methods are bonded using dynamic binding.
static, dynamic

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT