史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   軟體應用問題討論區 (http://forum.slime.com.tw/f5.html)
-   -   java高手幫幫忙~ (http://forum.slime.com.tw/thread2228.html)

chiyu 2002-12-16 09:32 AM

java高手幫幫忙~
 
我這禮拜四要交作業還不知道要如何寫
我們上的是原文書
題目
我用線上翻譯翻的

寫 確定 為 對 整數 的 一 個 方法 倍數 是否 第 二 個
整數 是 倍數 的 一 。 方法 應該 採取 二 個 整數 論據 和 退回 真實 如果
秒鐘 是 倍數 的 一 和 假 的 否則 。合併 這 個 方法 附屬 程式 那 輸入 一系列 的 對
整數 (一對 一 次使用 JTextFields) 。 [ NOte:Register 為 事件 處理 在 唯一 第 二 JTextField 。 用戶 應該 與 節目 相處 融洽 由 鍵入 的 數字 在
JTextFields 並且 按 進入 只 在 第 二 JTextField 。]
原文
Write a method multiple that determines for pair of integers whether the second integer is a multiple of the first. The method should take two integer
arguments and return true if the second is a multiple of the first and false otherwise.Incorporate this method into an applet that inputs a series of pairs of integers (one pair at a time using JTextFields). [ NOte:Register for event handling on only the second JTextField. The user should interact with the program by typing numbers in both JTextFields and pressing Enter only in the second JTextField.]


所有時間均為台北時間。現在的時間是 09:38 AM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1