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 do you know about seam?
Explain the different types of memory used by jvm?
What is the difference between RMI and Corba?
What are the steps to write p-to-p model application?
What is a class loader? What are the different class loaders used by jvm?
Why are component architectures useful?
Explain the advantages and disadvantages of detached objects.
What are JTA/JTS and how they used by client?
What is the difference between a static and a non-static inner class?
What is synchronization and why is it important?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What restrictions are placed on the location of a package statement within a source code file?
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?
Difference between swing and awt?