how to use this key word in java programming?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by of string::valueof expression in java 8?

552


How many classes can any class inherit java?

516


When do we need to use internal iteration? When do we need to use external iteration?

615


Is object a data type in java?

605


What is the difference between throw and throws keywords?

582






What is the purpose of using java.lang.class class?

530


What is use of map in java?

523


What is the public method modifier?

553


What is a predicate method?

570


How are variables stored?

537


Can a constructor call the constructor of parent class?

545


How list contains works in java?

563


What is a method declaration?

521


What are access specifiers in java ?

599


What do you understand by final value?

596