Interface to unite calculate methods with different primitive paramter types

后端 未结 0 1340
春和景丽
春和景丽 2020-12-21 04:04

I have two types of objects that can perform a calculate() operation with either an int or a byte:

public class A  {
  public int ca         


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