Question: What can't be created directly from the class? abstract class Shape { String color; / / abstract method abstract double area ( ) ; public
What can't be created directly from the class? abstract class Shape
String color;
abstract method
abstract double area;
public abstract String toString;
abstract class can have a constructor public ShapeString color
System.out.printInShape constructor called";
this.color color;
concrete method
public String getColor
return color;
An object
A variable
A constructor
A method
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
