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);
}
}
Answer Posted / guest
/.kt
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a policy?
What restrictions are placed on the values of each case of a switch statement?
What is abstract schema?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
What state does a thread enter when it terminates its processing?
what are the advantages of JTA over JTS?
What is permgen or permanent generation?
how to use debug in my elipse to solve problems that exist in my project
What are the call back methods in entity bean?
What is clustering? What are the different algorithms used for clustering?
What are the different methods of identifying an object?
what is Activation Instantinator?
What is colon_pkg_prefixes and what is its use?
Why a component architecture for the java platform?
What are the difference between RMI and CORBA?