Computer Science, asked by iammegasree, 9 months ago

Given the following:
1)class Base{
2) void display () throws Exception{throws new Exception();}
3) }
4) public class Derived Base {
5) void display (){ System. out.println("Derived");}
6)public static void main(String args[]){
7) new Derived ()display ();
8) }
9) }
what is the result?
a)Derived
b)the code runs with no output.
c) compitation fails because of an error in the line 2.
d) computation fails because of an error in the line 7.

Answers

Answered by Paradox007000
0

woooow that's a lot hopefully you get an actual answer soon

Similar questions