@fernandob/

Advance Java Programming

Java

No description

fork
loading
Files
  • Main.java
  • GenericExample.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

class Main {
  public static void main(String[] args) {
    GenericExample ge = new GenericExample();
    List<String> arr = Arrays.asList("Thor","Iron-man", "Capt America");
    ge.mainExample();
    ge.GenericMethods(arr);
  }
}