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?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
What modifiers may be used with an interface declaration?
How database connectivity in XML is achieved?
Why are my checkboxes not being set from on to off?
Can you control when passivation occurs?
What is prototype?
Difference between new operator and class.forname().newinstance()?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Define aop(assepct oriented programing)?
What is the difference between the session.update() method and the session.lock() method?
Difference between hashmap and hashtable?
which book is better for jdbc ,servlets and jsp
What is RMI and what are the services in RMI?
How are commas used in the intialization and iteration parts of a for statement?