Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
how to find Type of object at runtime in Java
Java doesnt support RTTI or Runtime Type Identification like C++ programming language but still provides some ways to find type of object at runtimehttp://javarevisited.blogspot.com/2012/09/how-to-determine-type-of-object-runtime-identification.html
Total Hits: 4228
Total Votes: 3 votes
Average Rating: 4.67 out of 5
Category: JAVA/Misc
Description:
Java doesnt support RTTI or Runtime Type Identification like C++ programming language but still provides some ways to find type of object at runtime. This article explores those ways like using instanceof and Class getClass method and there advantage over each other.Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 0% |
0 |
![]() ![]() |
![]() ![]() 0% |
0 |
![]() ![]() ![]() |
![]() ![]() 0% |
0 |
![]() ![]() ![]() ![]() |
![]() ![]() 33.33% |
1 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 66.67% |
2 |




0%

0%

0%

33.33%

66.67%