| 1. | public class Outer Which of the following code fragments inserted, will allow to compile? |
|||||||
Answer: Option A Explanation: Option A compiles without problem. Option B gives error - non-static variable cannot be referenced from a static context. Option C package ot does not exist. Option D gives error - non-static variable cannot be referenced from a static context. |
