How to call method requiring parameters type int using stack of a different type

前端 未结 0 749
醉话见心
醉话见心 2020-12-07 18:35

I have a stack of type UserEntry which takes in either 3 or 4 ints.

Using method overloading I\'ve written two methods.

public void addUserEntry(int ro         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题