Engineering Full Stack Apps with Java and JavaScript
What will be printed when the following code is compiled and run?
public class LoadTest{ public static void main(String[] args) throws Exception { LoadTest t = new LoadTest(); int i = t.getLoad(); double d = t.getLoad(); System.out.println( i + d ); } public int getLoad() { return 1; } public double getLoad(){ return 3.0; } }
Select 1 option
A. 13.0
B. 4.0
C. 4 
D. The code will not compile.