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...

Difference between this(), super()?

Answer Posted / nikhlesh gupta

this() call one of user define constructor inside another user constructor of the same class such as this(a), this(a,b) & so on.
super() call one of base class constructor inside the derive class constructor such as super(a), super(a,b) & so on.

Is This Answer Correct ?    26 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the term string pool?

958


Explain scope or life time of local variables in java?

970


What are the advantages of functions?

871


What is the difference between hashset and treeset in java?

1005


How to provide security in java

2199


What are the types of java languages?

931


Is 0 true or false?

945


What is the purpose of the file class in java programming?

958


Tell me about different OOPS concepts.

958


What are inbuilt functions?

937


What is meant by object oriented programming – oop?

926


Which is faster call by value or call by reference?

868


How to change the priority of thread or how to set the priority of thread?

990


What are some alternatives to inheritance?

1047


Do I need to import java.lang package any time? Why?

1314