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

overridding in one class  RSS feed

 
pooja jain
greenhorn
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we have two method in one class & one is overridding other one ( same name & same return type ) . I am thinking that first one will be hide by second one .

thanks in advance .
bye , pooja
 
Jimmy Die
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

No.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!