wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes native and static Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "native and static" Watch "native and static" New topic
Author

native and static

Gokulakrishnan Raghuraman
Greenhorn

Joined: Nov 27, 2002
Posts: 10
Can anyone tell me if native methods can be static ?
Arpana Rai
Ranch Hand

Joined: Nov 12, 2002
Posts: 93
Originally posted by Gokulakrishnan Raghuraman:
Can anyone tell me if native methods can be static ?

Yes, native method can be static.but native modifier can not be used with abstarct method.
regds
Arpana


SCJP1.4(91%)
Gokulakrishnan Raghuraman
Greenhorn

Joined: Nov 27, 2002
Posts: 10
Thanx for the answer.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: native and static
 
Similar Threads
string
Native method doubt
Reg. native methods
native methods
error in Marcus Green 2.