English, asked by bikashloveguru6718, 10 months ago

Can "this" be returned from a method? Select one:
a. True
b. False

Answers

Answered by eitherThisOrThat
0
This is a computer related question.

Answer is ‘True’
Answered by mindfulmaisel
0

True. "this" can be returned from a method.

Option: A

Explanation:

  • “this” is the keyword used in computer programming languages where it is used for referring objects, classes or any other entity of the running part of the code.
  • By using ‘this’ keyword, we can access the data and methods stored in the current object. There are some uses of using ‘this’.
  • It refers to instance variables which are hidden by local variables of the similar name or if the methods wants to return the object.
  • Syntax: return var.this -> method();

To know more about programming language variables,

1) Normal variable and Array Variable Difference

https://brainly.in/question/2598092

2) What is a pointer on a pointer in C programming language?

https://brainly.in/question/9510429

Similar questions