Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are various types of class loaders used by jvm?

952


For which statements does it make sense to use a label?

1040


how do you Handle Front End Application data against DB with example?

1942


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1110


What is the argument type of a programs main() method?

1085


what are RemoteObjects?

2708


what are memory considerations of jsp compares to other web components?

6482


Why a client should be multithreading? Explain.

1052


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?

2381


What is scalable, portability in the view of J2EE?

2495


Why won’t the jvm terminate when I close all the application windows?

1209


Java is fully object oriented languages or not?

964


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2185


the same information whether it will connect to the database or it will be used previous information?

1008


Can I run seam outside of jboss as?

1050