![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java面向对象程序设计语言
文章平均质量分 79
Solar
好孩子
展开
-
ssd3 Multiple-Choice Quiz 1
1.<br />Which method must exist in every Java application?<br /><br /><br />(a) main<br />(b) paint<br />(c) begin<br />(d) init<br /> <br />Answer:a<br />每个Java application 里面都必定含有main函数,否则程序无法运行。<br /><br /> <br /><br />2.<br /><br />Which of the followi原创 2010-12-15 17:07:00 · 2513 阅读 · 0 评论 -
ssd3:Practical Quiz 1 iCarnegie Information
iCarnegie Informationimport java.io.*;import java.util.*;public class ICarnegieInfoApplication { private static BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in)); private static PrintWriter stdOut = new PrintWriter(Syste原创 2010-12-15 21:10:00 · 1655 阅读 · 0 评论 -
ssd3:Practical Quiz 1 SecondsCalculator
SecondsCalculatorimport java.io.*;import java.util.*;public class SecondsCalculator { public static void main(String[] args) throws IOException { BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in)); String readLine = stdIn.rea原创 2010-12-16 14:54:00 · 1645 阅读 · 2 评论 -
ssd3:Practical Quiz 2 Debugging Class DNASequence
/** * This class represents a DNA sequence of nucleotides 'A', 'T', 'C' and 'G' * as a sequence of characters in a {@link String} object. * * @author author name * @version 1.0.0 */public class DNASequence { /* Contains the sequence of nucleotides. */ p原创 2011-02-07 10:51:00 · 1898 阅读 · 0 评论 -
ssd3 Multiple-Choice Quiz 2
1.UML class diagrams can describe which of the following? The internal structure of classes Relationships between classes (a) I and II(b) None(c) II only(d) I only2.In a UML class diagram's representation of a class, the top, middle, and lower rectangular原创 2011-02-07 11:40:00 · 2755 阅读 · 0 评论 -
ssd3: Exercise 1 Shopping Cart Application
import java.io.*;import java.util.*;public class ShoppingCartApplication { private static BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in)); private static PrintWriter stdOut = new PrintWriter(System.out, true); private原创 2011-05-08 13:31:00 · 1844 阅读 · 0 评论