• Post Reply Bookmark Topic Watch Topic
  • New Topic

chapter 8: K & B  RSS feed

 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which modifiers you can apply to static nested class?

Thanks in advance.
 
Kantutan Tayo
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
acces modifiers: private, protected, public
non-acces modifiers: final, strictfp
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for anonymous inner class can you give arguments? like

Popcorn p= new Popcorn("p"){};
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you try it yourself, you will remember it more easily, when you get your own hands dirty.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!