Which of the following is not the use of this keyword ?<br/><br/> a. Passing itself to another method<br/> b. To call the static method <br/> c. Referring to the instance variable when local variable has the same name<br/> d. Calling another constructor in constructor chaining<br/>
Javasearch.buggybread.com

Search Interview Questions


 3361 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Which of the following is not the use of this keyword ?

a. Passing itself to another method
b. To call the static method
c. Referring to the instance variable when local variable has the same name
d. Calling another constructor in constructor chaining
Anonymous
Ans. To call the static method

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     this   this keyword   java


Related Questions

  Why can't we use this in static context ?
  Can we use "this" within static method ? Why ?
  In majority of the situations it won't make much sense whether you append this with the instance method call.Can you tell a situation wherein this keyword would make sense in a instance method ?
 Does compiler treats it differently if we don't prefix this to the member element and its implicit as its the only variable available with that name ?
 What is the use of this keyword in javascript ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: