• Post Reply Bookmark Topic Watch Topic
  • New Topic

search  RSS feed

 
Lei Xiaowen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello:
class searchBYName extends search{
public searchByName(){
jRByName.setVisible(flase);
jRByName.setVisible(false);
}
}
would you say someting about "search"?
and "jRByName" is not definite before,Why can it use here?
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jRByName may have been defined in the superclass search with public or protected modifier, and hence can be used in the subclass searchByName.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!