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?

Answers were Sorted based on User's Feedback



how to use this key word in java programming?..

Answer / nagireddy.siddaka


my answer is like this
class A{
int a;
int b;
A(){
this.a=12;
this.b=14;
)

Is This Answer Correct ?    17 Yes 3 No

how to use this key word in java programming?..

Answer / kavitha

class abc
{
.int x,y;
.
.
public void setValue(int a,int b)
{
this.x=a;
this.y=b;

}

Is This Answer Correct ?    11 Yes 4 No

how to use this key word in java programming?..

Answer / ali

this keyword is used to referd the current objects.
It is also used call the same class constructor.
In the set of statements this statement is executed first.

Is This Answer Correct ?    8 Yes 1 No

how to use this key word in java programming?..

Answer / 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

how to use this key word in java programming?..

Answer / rakesh

Keyword can not be used as identifiers in your programs.

Is This Answer Correct ?    5 Yes 4 No

how to use this key word in java programming?..

Answer / raaz

i hv lot of doubts in java what to do...???

Is This Answer Correct ?    0 Yes 0 No

how to use this key word in java programming?..

Answer / malini.s

i am having lot of doubts in java
wt to do

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Core Java Interview Questions

what is a transient variable?

5 Answers  


What is the purpose of the System class?

0 Answers  


What is the difference between an interface and an abstract class?

0 Answers   Cyient,


What is string subsequence method?

0 Answers  


what difference between throw and throws in exception handling.

5 Answers  


What are the two ways to create a thread?

0 Answers  


What package is math in java?

0 Answers  


What is advantage of java?

0 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


What is the use of conditional statement?

0 Answers  


Why does java have two ways to create child threads? Which way is better?

0 Answers  


Keywords in Exceptions?

2 Answers  


Categories