• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!