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

How are this() and super() used with constructors?

Answer Posted / bhadresh

this() use to invoke only same class constructor.

super() use to invoke super class constructor.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is final different from finally and finalize?

924


How is a structure different from array ?

1040


What are controls and their different types in awt?

1086


Which data type is class in java?

1014


What does provide mean construction?

1099


What are the legal parameters?

1009


What is use of super keyword?

966


Is a char always 1 byte?

989


Is list ordered in java?

971


Define array. Tell me about 2-D array.

1049


What is continuity of a function?

1094


What is the default size of load factor in hashing based collection?

1049


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2731


How do I get the | symbol on my keyboard?

1084


What is the final class?

1057