教育サーバーのページ
オンラインテキスト目次
ソフトウエア入門演習

コメントとインデント:解答例

課題

  1. public class AProgram {
        public static void main(String[] args) {
            int a = 100;
            System.out.println("started");
            if (a > 20) {
                System.out.println("a is greater than 20.");
            }
            System.out.println("end");
        }
    }
    

ソフトウエア入門演習
教育サーバーのページ
ohmi@rsch.tuis.ac.jp