Skip to content

Commit

Permalink
some experimentation done
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph committed Jan 22, 2020
1 parent 97c0673 commit 81dc511
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 1 deletion.
124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Week01/Week01.java → src/Week01/ArrayReview.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.Arrays;

public class Week01 {
public class ArrayReview {

public static void main(String[] args) {

Expand Down
44 changes: 44 additions & 0 deletions src/Week01/experimentation.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package Week01;

import java.util.*;
import java.io.*;

public class experimentation {

public interface at {

}

@Override
protected Object clone() throws CloneNotSupportedException {


return super.clone();
}

protected int jogging = 0;
//jogging = 1;

//n is the initial size
//this size can change
int n = 4;
ArrayList<Integer> al = new ArrayList<Integer>(n);

int[] a = {1, 2, 3, 4, 5};

for(int i : a) {
System.out.println(a[i]);
}


Map<String, String> phonebook = new HashMap<>();
phonebook.put("Guy", "123456789");
Set<String> keys = phonebook.keySet();
for(String j : keys) {
System.out.println(i + " : " + phonebook.get(i));
}


}

0 comments on commit 81dc511

Please sign in to comment.