What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference.
(Note : Pls ignore syntx errors)
public class One {
sop ("Into One--");
}
public class Two extends One{
sop ("Into Two--");
}
public class Home {
One a; Two t;
public static void main(argv[])
{
sop ("In Home--");
sop(One.a);
sop(Two.a);
sop(One.t);
sop(Two.t);
}
}
Answers were Sorted based on User's Feedback
Answer / pokuru surendra
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
One.a cannot be resolved
Two.a cannot be resolved
One.t cannot be resolved
Two.t cannot be resolved
Is This Answer Correct ? | 2 Yes | 0 No |
what is a dirty read?
Can we have more than one action servlet?
Why doesn’t the focus feature on the tag work in every circumstance?
Explain what is synchronization?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What is the main functionality of RRL(Remote Reference Layer)?
Name three component subclasses that support painting?
How do u supress the parameters from the displaying in the url?
Explain the stub's and skeleton's functionality?
diff between jsp include directive and jsp action include?
What is chat area? Explain.
To identify IDL language what mapping mechanism is used?