File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using superclass constructor

 
nirjari patel
Ranch Hand
Posts: 386
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My question is, if I want to call super constructor outside of GraphicalDice constructor, can I do that ?

Thanks
 
Tom Reilly
Rancher
Posts: 618
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A constructor can only be called from another constructor. And a further restriction is a constructor can only be called from the first line of another constructor.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you like to invoke the super constructor from another location?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic