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
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
Explain the difference between object state and behavior?
What is the difference between the string and stringbuffer classes?
Explain what is orm?
Explain ioc concept?
When a thread blocks on i/o, what state does it enter?
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’s jboss jbpm?
What is the highest-level event class of the event-delegation model?
What is the difference between long.class and long.type?
Explain the steps in details to load the server object dynamically?
What is TL and its use?
Write a singleton program?
what is a non-repeatable read?
What is message driven beam?