hi rathi...so if it not mentioned that they are in same source code file then whether we have to eliminate the compile error option??? Thanks in advance.
On the real exam you will know whether two pieces of code are in the same source by the line numbering. This will also tell you whether any source you see is a complete class or a fragment.