Object Oriented Programming (OOPs)

© examsiri.com
Question : 54 of 72
 
Marks: +1, -0
Given:
1. public class A {
2.   public void doit() {
3.   }
4.   public String doit() {
5.    return "a";
6.   }
7.   public double doit(int x) {
8.    return 1.0;
9.   }
10. }

What is the result?
Go to Question: