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?

Answer Posted / sreekar reddy vanguru

Mainly this() is used to avoid hidding the field varaibles
by the varaibles of the methods which are having same name..

super() is used to invoke the super class from sub class...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we create objects if we make the constructor private ?

1024


What is a generic code?

1071


Can we extend singleton class in java?

972


Should you use singleton pattern?

942


Can a method be static?

972


How many types of memory areas are allocated by jvm?

1046


What are parsers? Dom vs sax parser.

1059


What is the difference between an if statement and a switch statement?

1167


List some important features of java 10 release?

1087


Is a boolean 1 bit?

1084


Differentiate between overriding and overloading cases?

1115


What is the difference between math floor and math round?

1043


What are three types of loops in java?

1139


Can we overload the main() method?

1051


What are voids?

970