Question: What is the output of the below Java program with an abstract class? _ _ _ _ _ _ _ _ abstract class Coffee {
What is the output of the below Java program with an abstract class?
abstract class Coffee
Coffee
System.out.printlnInside Constructor of Coffee..";
class ColdCoffee extends Coffee
ColdCoffee
System.out.printlnInside Constructor of ColdCoffee..";
public class AbstractClassTesting
public static void mainString args
ColdCoffee cf new ColdCoffee;
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
