简体中文
Telegram

讨论串 Can anyone tell my why i am getting error at short x = cal.mul(5, 6);

3 条消息 · –
J
Can anyone tell my why i am getting error at short x = cal.mul(5, 6);
  1. K
    Write it as short x = cal.mul((short) 5, (short) 6); Integer literals in Java are of type int, so you need to cast the arguments to short in order to pass them to mul(short, short)

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法