Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

search

 
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