Skip to content

Instantly share code, notes, and snippets.

@alexchiri
Created January 27, 2013 11:22
Show Gist options
  • Save alexchiri/4647919 to your computer and use it in GitHub Desktop.
Save alexchiri/4647919 to your computer and use it in GitHub Desktop.
package com.alexchiri.bytecode;
import java.util.ArrayList;
import java.util.List;
/**
* Alexandru Chiritescu
* 27-1-13
*/
public class ASimpleClass {
public static void main(String[] args) {
List<String> strings = new ArrayList<>();
strings.add("Type");
strings.add("erasure");
for(String s:strings) {
System.out.println(s + " ");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment