Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inheritance and package question  RSS feed

 
Bing Qiao
Greenhorn
Posts: 21
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!