• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Native methods/member variables

 
Willie Toma
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can member variables, or any variables, be considered native?
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe only methods can be native.
Originally posted by Willie Toma:
Can member variables, or any variables, be considered native?


------------------
What's this H2SO4 doing in my fridge?? ( thud )
 
Snylt Master
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Dale is right.
According to Complete java 2 Certification Study Guide:
I Quote "The native modifier can refer only to methods....Native
indicates that the body of a method is to be found elsewhere."
Hope this helps!
// SnyltMaster
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic