summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/Listing0507.java
blob: 211c50e939079b94597f4b91fccc98e642815ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Listing0507.java */

public class Listing0507
{
  public static void main(String[] args)
  {
    String a = new String("hallo");
    String b = new String("hallo");
    System.out.println("a.equals(b) liefert " + a.equals(b));
  }
}