This presentationt is written about "Code Complete" Chapter 22 Developer Testing.
This chapter describes how important developer test is and how to perform efficient developer testing.
14. 7. New Java Class ダイアログが開いたら、 [Name] に “ Main” を入力し、 [Finish] をクリック。
15. 8. Main.java をダブルクリックして開き、以下のようなコードを入力。 public class Main { public static void main(String[] args) { System. out .println( "Hello, world!!" ); } }
64. 9. 機能の変更。これでいいかな? public class Main { public static void main(String[] args) { if (args[0].equals( "+" )) { int x = Integer. parseInt (args[1]); int y = Integer. parseInt (args[2]); System. out .println( String. format ( "Result: %d" , x + y)); } } }