Page 1 of 1

1. Write the output of these code block without running (3) abstract class Base { abstract public void myfunc(); public

Posted: Tue Jun 07, 2022 12:39 pm
by answerhappygod
1 Write The Output Of These Code Block Without Running 3 Abstract Class Base Abstract Public Void Myfunc Public 1
1 Write The Output Of These Code Block Without Running 3 Abstract Class Base Abstract Public Void Myfunc Public 1 (6.72 KiB) Viewed 27 times
1 Write The Output Of These Code Block Without Running 3 Abstract Class Base Abstract Public Void Myfunc Public 2
1 Write The Output Of These Code Block Without Running 3 Abstract Class Base Abstract Public Void Myfunc Public 2 (32.6 KiB) Viewed 27 times
1. Write the output of these code block without running

(3) abstract class Base { abstract public void myfunc(); public void another () { System.out.println("Another method"); } public class Abs extends Base { public static void main(String args[]) { Abs a new Abs (); a. amethod (); } public void my func() { System.out.println("My Func"); } public void amethod () { my func(); } }