数字类
in listing 2, i reopen the numeric class (which handles both fixed and floating-point numbers) to add the gram and pound methods.
在清单2中,我重新打开了Numeric类(其处理固定和浮点数字)以便添加gram和pound方法。
to make this code executable, i must add the gram and lb methods to numbers by opening the numeric class, as shown in listing 2
要使此代码可执行,我必须通过打开Numeric类以便将gram和lb方法添加到数字中,如清单2所示
英语网 · 商务英语
英语网 · 双语娱乐资讯
英语网 · 少儿英语故事
英语网 · 高考英语