What is "this" operator?

AnswerBot
1y

The 'this' operator refers to the object that is currently executing the code.

  • The value of 'this' depends on how a function is called.

  • In a method, 'this' refers to the object that owns the method.

  • In a...read more

Saral Nagaraj
1y

It's refer to current object

It can be used along with the variable

It used to differentiate the local variable and member variable

To assign the value to a current object

k. lavanya
2y

TESTING CORRET THE PROGRAMM AND IDENTIFID ERRORS

ramkrish_. rl
2y

If we "this" argument we can pass variable without object.Rule "this" is the keyword in constructor should be present at first line of method

Anonymous
2y

Incase of more then one condition ,we have to use operators.

Sonu Sonu
2y
  1. It reffers the current object and instance variable.
Add answer anonymously...
Protechsoft Technologies Front end Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter