Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 60.1 pts Which of the following is true about a concrete class? A concrete class may be extended . A concrete class may be

Question 60.1 pts

Which of the following is true about a concrete class?

A concrete class may be extended.
A concrete class may be instantiated.
A concrete may NOT contain abstract methods.
All of the above.
None of the above.

Flag this Question

Question 70.1 pts

Which of the following is true?

A class extends exactly one other class and may implement any number of interfaces.
A class may extend at most one concrete class, may extend any number of abstract classes, and may implement any number of interfaces.
A class may extend one concrete class and also one abstract class, and may implement any number of interfaces.
A class may extend exactly one other class, OR may implement any number of interfaces, but not both.

Flag this Question

Question 80.1 pts

Given the following declarations,

public class Parent { ... } public class Child extends Parent implements Wizard { ... } public class Grandchild extends Child { ... }

Which of the following is NOT true?

Child "Is-A" Wizard
Parent "Is-A" Wizard
Grandchild "Is-A" Child
Grandchild "Is-A" Parent
Grandchild "Is-A" Wizard

Flag this Question

Question 90.1 pts

Given the following definition: public class Alpha implements Freezable {...} And the following client code: Freezable f = new Alpha(); Which is true?

The variable f has static type Freezable and dynamic type Freezable
The variable f has static type Freezable and dynamic type Alpha
The variable f has static type Alpha and dynamic type Alpha
The variable f has static type Alpha and dynamic type Freezable

Flag this Question

Question 100.1 pts

Which of the following creates a new data type?

an abstract class definition
a concrete class definition
an interface definition
All of the above.
None of the above.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions