• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding native

 
omkar patkar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the methods in system class has this signature :- "static native int identityHashCode(Object obj)"........what does native signify here ?
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The keyword "native" means that the method is implemented in a different language (such as C++).

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic