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 / srinu

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 ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

970


What is generic class?

1094


What are methods in java?

995


How do you check if a character in a string is a digit or letter?

1074


What does localhost mean?

953


Write a program in java to establish a connection between client and server?

969


Explain Basics of OOP Language in java

1062


Does collectionutils isempty check for null?

1426


How do you override a private method in java?

983


What are the two main uses of volatile in Java?

1062


Is string a class in java?

985


What is native method in java?

1061


What's the purpose of static methods and static variables?

1100


What is byte data type?

1001


How do you start a new line in java?

987