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

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?

2422


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1159


What modifiers may be used with an interface declaration?

1137


How database connectivity in XML is achieved?

2242


Why are my checkboxes not being set from on to off?

1138


Can you control when passivation occurs?

1065


What is prototype?

1165


Difference between new operator and class.forname().newinstance()?

1135


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2675


Define aop(assepct oriented programing)?

1182


What is the difference between the session.update() method and the session.lock() method?

1013


Difference between hashmap and hashtable?

1156


which book is better for jdbc ,servlets and jsp

2106


What is RMI and what are the services in RMI?

1173


How are commas used in the intialization and iteration parts of a for statement?

1097