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 use of ?this??

Answer Posted / ashokmail

'this' operator is used to denote the current working
object.

EX:
Class student{
public student(){
this.addStudent();
}
public void addStudent(){
// to do code here
}
public static void main(String args[]){
new student();
}
}

'this' in the constructor is used to denote the current
working object student...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

2104


Why can we not override static method?

1058


Explain about static imports in java?

947


What is the map interface in java programming?

964


Difference between stack and queue?

1013


What is %02d?

1034


What is pojo class in java?

996


What is a class object?

911


What is a singleton in genetics?

999


How to add menushortcut to menu item?

944


What Is Composition?

999


How java uses the string and stringbuffer classes?

997


What is the difference between path and classpath variables?

964


How many bytes is a string?

1079


What are thread safe functions?

896