-
What will be the result of compiling and executing the code listed below?
{geshibot language="java"} public class Finder { public static void main(String[] args){ System.out.println(X.Y.Z); }} class X{ static class Y{ static String Z ="Apple"; } static W Y = new W(); } class W{ String Z = "Orange";}{/geshibot} a) Apple b) Orange c) Compile time Error d) Runtime Exception is thrown