• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Illegal combination of modifier

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

there some illegal combination of modifier---

abstract can not be used with ( final , static , private , native , strictfp ,synchronized )
A transient variable may not be declared as final or static
volatile and final combination is always illegal
Native and strictfp combination is illegal for methods
The methods cannot be declared native and strictfp simultaneously.
final fields cannot be volatile.

is there are any other illegal combination ........ please reply
and describe all illegal combination reason...............
 
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find those very hard to remember specially anything other than for classes, methods and variables.

For exam purposes you can ignore those for transient and volatile variables.

staticfp and native are also out of scope in this regard.
 
reply
    Bookmark Topic Watch Topic
  • New Topic