Question: Question 7 1 pts public abstract class Shape { public abstract int getNumberSides ( ) ; } public class Triangle extends Shape { public int
Question pts
public abstract class Shape
public abstract int getNumberSides;
public class Triangle extends Shape
public int getNumberSides
return ;
public class Square extends Shape
public int getNumberSides
return ;
Which of the following are correct?
Group of answer choices
We can create objects of type Shape.
We can create objects of type Square.
We can create objects of type Triangle.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
