What is the use of ?this??

Answer Posted / ravikiran

this is used to refer the current instance

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why are there separate wait and sleep methods? : Java thread

574


Explain the use of shift operator in java. Can you give some examples?

537


How finally used under exception handling?

510


what do you mean by stream pipelining in java 8? Explain

531


What is array size in java?

496






What do you know about the garbage collector?

606


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

537


what is session in java?

743


What do you mean by Hash Map and Hash Table?

596


What is the difference between private & public & friendly classes?

546


How does finally block differ from finalize() method?

583


Explain the difference between the public, private, final, protected, and default modifiers?

549


What does sizeof return?

554


Why do you canvas?

607


Difference between ‘is-a’ and ‘has-a’ relationship in java?

535