Question: java programming (IDE Eclips ) What will be the output of the following program? Assume that all the classes belong to the same package class

java programming (IDE Eclips ) java programming (IDE Eclips ) What will be the output of the

What will be the output of the following program? Assume that all the classes belong to the same package class CURD { public static void main(String[] args) { new C().create(); new D().update(); new R().read(); new D().delete(); } } class C { public void create() { System.out.print(""); } } class U { private void update() { System.out.print("u"); } } class R extends C { public void create() { System.out.print("C"); } protected void read() { System.out.print("R"); } 3 class D extends U { void update() { System.out.print("U"); } void delete() { System.out.print("D"); } 3 CURD CURD CURD Compilation Error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!