Mohd_Irshad wrote:No, because that's a method in the Object class.
i know it...but in case of toString method we didnot place toString to our interface.
and jvm make it available to instanceNo, the compiler does.
...i want it that way....You can't unless you write a new compiler.
without giving in interface....r u getting my point...Yes, but you aren't getting my point.
Mohd_Irshad wrote:That's not possible. The methods in Object have special handling in the compiler that you can't get for your own methods.
i want it that way....without giving in interface....
r u getting my point...Slowly.
ariser3107 wrote:Don't create dummy posts.