Created
September 24, 2020 02:31
-
-
Save ucguy4u/7a7de55786c540708513f0e189f89054 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* @author uschauha | |
*/ | |
public class TestHeap { | |
public static void main(String[] args) { | |
List<String> myList = new ArrayList<String>(); | |
myList.add("One"); | |
myList.add("Two"); | |
myList.add("Three"); | |
printList(myList); | |
} | |
private static void printList(List<String> myList) { | |
System.out.println(myList); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment