summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/ProfTest1A.java
blob: 384b2edc6a9a660dbdc56f6f6d1b59d468f3c042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ProfTest1A.java */

import java.util.*;

public class ProfTest1A
{
  public static String dots(int len)
  {
    String ret = "";
    for (int i = 0; i < len; ++i) {
      ret += ".";
    }
    return ret;
  }

  public static void main(String[] args)
  {
    String s = dots(10000);
    System.out.println(s);
  }
}