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
Explain phantom read?
Are we allowed to change the transaction isolation property in middle of a transaction?
How primary key is implemented in Oracle?
What is ripple effect?
Difference between swing and awt?
Where can I find seam examples and documentation?
What are the types of scaling?
Why does the tag url-encode javascript and mailto links?
What are externizable interface?
whats is mean by tiles in struts
What is the difference between session and entity beans?
What is message driven beam?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
What is table mutation and how do you avoid it?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?