Hi everyone,
Code below compiled, executes and prints out nothing. My question is why b.run(); is OK when it was not overridden and class Bground does not implements Runnable. Thought it'll give compile error eg: if we call a method say b.test(); but did not define the method signature in the class eg void
test(){};
Appreciate any help, thanks !!
Rob
From Marcus Green Mock : Question Bank Id:106, code added:b.test(); & comments