Engineering Full Stack Apps with Java and JavaScript
Given:
//Insert code here public abstract void draw(); } //Insert code here public void draw(){ System.out.println("in draw..."); } }
Which of the following lines of code can be used to complete the above code?
Select 2 options
A. class Shape {
and
class Circle extends Shape {
B. public class Shape {
and
class Circle extends Shape {
C. abstract Shape {
and
public class Circle extends Shape {
D. public abstract class Shape {
and
class Circle extends Shape {
E. public abstract class Shape {
and
class Circle implements Shape {
F. public interface Shape {
and
class Circle implements Shape {