Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inheritance and package question

 
Bing Qiao
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to extend a class B in a non-default package from another class A in default package?

package scjp;

Class B extends A {
}

It doesn't compile!

Many thanks!
[ October 25, 2006: Message edited by: Bing Qiao ]
 
wise owen
Ranch Hand
Posts: 2023
 
Bing Qiao
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic