Java
Programming and Technical
Programming
Program
Which is true about a method-local inner class?
A. It must be marked final.
B. It can be marked abstract.
C. It can be marked public.
D. It can be marked static.
Read Solution (Total 5)
-
- it can be marked abstract
- 8 years agoHelpfull: Yes(4) No(0)
- it canbe marked as static
- 9 years agoHelpfull: Yes(3) No(0)
- It can be public
- 8 years agoHelpfull: Yes(0) No(1)
- it can be both static and final
note: every modifier that can be applied on local variables can be applied to method local inner class it may be strictfp also....
valid modifiers final, abstract,strictfp
invalid modifiers public, private, protected, static, syncronized, native - 8 years agoHelpfull: Yes(0) No(0)
- It must be marked final
- 4 years agoHelpfull: Yes(0) No(0)
Java Other Question