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 difference between this() and super()?

Answer Posted / amarmca84

this() can be used to invoke a constructor of the same class
whereas super() can be used to invoke a super class constructor.

Is This Answer Correct ?    91 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of "virtual"?

1126


Which arithmetic operations can result in the throwing of an arithmeticexception?

1058


Is there a jre for java 11?

1128


How many inner classes can a class have?

1087


What is the use of :: in java?

1076


What is the main use of java?

1222


What all access modifiers are allowed for top class ?

1240


Explain the advantages of packages in java?

967


Can we cast any other type to boolean type with type casting?

1002


Explain the importance of join() method in thread class?

1133


How many types of the indexof method are there for strings?

1019


What is meant by local variable and instance variable?

1052


Can a top level class be private or protected?

1095


What is the difference between JDBC 1.0 and JDBC 2.0?

3226


What are the advantages of java over cpp?

1125