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 to use this key word in java programming?

Answer Posted / kalai

it can be used to call same class constructor.
it refers current object.
example
public class sample{
int k,l;
sample(int k,int l)
{
this.k = k;
this.l = l;
}
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What function extracts specified characters from a string?

994


What is difference between static and abstract class?

996


What is integer valueof?

1094


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

962


What is a native method in java programming?

1055


describe method overloading

1010


What is pojo class in java?

1084


Which number is denoted by leading zero in java?

1237


Can size_t be negative?

1170


How do you join strings in java?

1044


What is qms certification?

953


Can we convert stringbuffer to string?

1003


How can you read content from file in java?

997


What is an example of declaration?

1001


What the difference is between execute, execute Query, execute Update?

828