what is use of this keyword in Java
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
what is use of this keyword in Java
this is very special keyword which can also used to synchronized block in that case that block will be locked on current instance of Class and differehttp://javarevisited.blogspot.com/2012/01/this-keyword-java-example-tutorial.html
Total Hits: 3149
Total Votes: 29 votes
Category: JAVA/Core JAVA
Submitted on: 2012-01-14 11:47:15
Submitted By: Javin Paul
Description:
this is very special keyword which can also used to synchronized block in that case that block will be locked on current instance of Class and different object can access that method simultaneously. this can also be used to call overloaded constructor. overall a useful introduction of this. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 58.62% |
17 |
![]() ![]() |
![]() ![]() 6.9% |
2 |
![]() ![]() ![]() |
![]() ![]() 6.9% |
2 |
![]() ![]() ![]() ![]() |
![]() ![]() 10.34% |
3 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 10.34% |
3 |





58.62%

6.9%

6.9%

10.34%

10.34%