Location:
Search - JAVA TXT ED
Search list
Description: classshapemain.zip
//: c03:AutoInc.java
// Demonstrates the ++ and -- operators.
// From Thinking in Java, 3rd ed. (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
public class AutoInc {
public static void main(String[] args) {
int i = 1
System.out.println(\"i : \" + i)
System.out.println(\"++i : \" + ++i) // Pre-increment
System.out.println(\"i++ : \" + i++) // Post-increment-classshapemain.zip / / : c03 : AutoInc.java / / Demonstrates the and -- operat ors. / / From Thinking in Java, 3rd ed. (c) Bruce Eckel 2002 / / www.BruceEckel. com. See copyright notice in CopyRight.txt. pu blic class AutoInc (public static void main (St. ring args []) (int i = 1 System.out.println ( "i : "i) System.out.println (" i : "i) / / Pre-increment System.out.println (" i : "i) / / Post-increment
Platform: |
Size: 843 |
Author: 张竹 |
Hits:
Description: 这个是用java实现一个txt文档,算法比较简单,但对于初学者来说是比较好的,里面没有注释,但看起来应该不难的-This is done using java to achieve a txt document, the algorithm is relatively simple, but it is better for beginners, which did not comment, but it seems should not be hard to
Platform: |
Size: 2048 |
Author: Eleven |
Hits: