• Post Reply Bookmark Topic Watch Topic
  • New Topic

Class cannot be subclassed without final  RSS feed

 
Lakshmie Reddy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i make the calss as final class without using the final keyword
 
Paul Clapham
Sheriff
Posts: 22832
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you ask that? It doesn't seem like a very useful question to me.
 
pawan chopra
Ranch Hand
Posts: 419
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want it should not be sub classed then you can make the constructor private. But this does not make any sense to me. Can you tell us what exactly you are looking for?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!