File: coreJava.java.template

package info (click to toggle)
nice 0.9.12-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,220 kB
  • ctags: 6,894
  • sloc: java: 42,767; xml: 3,508; lisp: 1,079; sh: 736; makefile: 673; cpp: 21; awk: 3
file content (37 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
  DO NOT MODIFY THIS FILE.
  See coreJava.code
 */


class A
{
  int x;
  long y;

  A(int x, long y) {
    this.x = x;
    this.y = y;
  }
}

public class coreJava 
{
  public static void p(String s)
  {
    System.out.println(s);
  }

  public static void p(boolean b)
  {
    System.out.println("" + b);
  }

  static A createA(int x, long y)
  {
    return new A(x, y);
  }

  public static void main(String[] args)
  BODY    
}