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 Transient and volatile

10 Answers   iFlex,


What is a Wrapper class?

14 Answers  


Write a java program to generate fibonacci series ?

0 Answers   Cyient,


What is deadlock and how to avoid this?

2 Answers  


What is collection class in java?

0 Answers  


Why string is immutable or final in java

0 Answers  


Which class cannot be a subclass in java?

0 Answers  


Can we overload the methods by making them static?

0 Answers  


Can we use string in the switch case?

0 Answers  


Does garbage collection guarantee that a program will not run out of memory?

1 Answers  


Why string is a class?

0 Answers  


what is the replacement for GOTO in java?

2 Answers   CTS,


Categories