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

In the below example, how many string objects are created?

1092


What class of exceptions are generated by the java run-time system?

1243


How do you decide when to use arraylist and linkedlist?

1046


How do you remove an element from an arraylist in java?

1065


Does java vector allow null?

1004


What is adapter in java?

968


What is method with example?

1177


What is object in java?

1036


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

1199


Is it possible to write a regular expression to check if string is a number?

1068


How to sort numbers in java without array?

1035


Is the empty set a singleton?

1024


Explain all java features with real time examples

1755


What do you mean by constructor?

1029


Do you need to import math in java?

1055