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 does this() represent, and how is it used in Java?

Answer Posted / nashiinformaticssolutions

• The current instance of a class is represented by this().
• Previously used to: o Call the same class's default constructor

Access the current class's methods
o Indicate the instance of the current class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain thread life cycle in java?

978


What data structures are used to perform recursion?

1003


What are encapsulation, inheritance and polymorphism?

957


Write a program in java to create a doubly linked list containing n nodes.

916


When should I use stringbuffer?

966


What is the difference between heap memory and stack memory?

1020


Why call by value prevents parameter value change?

1026


What is the use of default method in interface in java?

973


Is java an open source?

934


Can we create an object of private class?

918


What is the tradeoff between using an unordered array versus an ordered array?

1174


What is appletviewer?

992


What is a lock or purpose of locks in java?

979


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

950


Is empty set an element of empty set?

1036