Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What are the six rules/guidelines for SIMPLE inheritance? A subclass is forced, by the compiler, to add new methods. Data fields in the super class

image text in transcribed

What are the six rules/guidelines for SIMPLE inheritance? A subclass is forced, by the compiler, to add new methods. Data fields in the super class are inherited by the subclass. Constructors are always inherited Constructors are never inherited A subclass can never override super class methods. A subclass may introduce new data fields. A subclass must introduce new data fields. Methods in the super class are inherited by the subclass. A subclass may override super class methods. A subclass may introduce new methods

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions