Skip to content

Conversation

@Smangumb
Copy link
Owner

No description provided.

Copy link

@daniefer daniefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

}
public abstract class Vehicle
{
public abstract string LicenseNumber { get; set; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to declare these properties abstract.

{
//5 properties
int BedSize { get; set; }
public override string LicenseNumber { get; set; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you don't declare the Vehicle.LicenseNumber as abstract then you don't need to override it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants