• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB can be defined a static class?

 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MDB can be defined a static class?
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A top-level class cannot be declared static - this is standard Java.
 
Shahfazal Mohammed
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Roger Chung-Wee:
A top-level class cannot be declared static - this is standard Java.


I'd done a mock exam (SoftSCBCD) and it said an MDB can be static, i guess the mock was incorrect there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic