The moose likes Java in General and the fly likes Regarding native Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding native" Watch "Regarding native" New topic

Regarding native

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
One of the methods in system class has this signature :- "static native int identityHashCode(Object obj)"........what does native signify here ?

Thanks and Regards
Omkar Patkar (SCJP 1.4)[url][/url] | [url][/url]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
The keyword "native" means that the method is implemented in a different language (such as C++).


Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: Regarding native
It's not a secret anymore!