Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anonymous class

 
suman deb
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
Can anonymous class have constructor and also can it be declared with public,protected,private,final,static modifier?

Thanks for your help.
Suman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic