Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e1fb471

Browse files
authoredNov 29, 2022
Add files via upload
1 parent ad2db95 commit e1fb471

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎javacollection1.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import java.util.*;
2+
class javacollection1 {
3+
4+
public static void main(String[] args) {
5+
Collection<Integer> a = new ArrayList<Integer>();
6+
a.add(1);
7+
System.out.println(a);
8+
}
9+
10+
}

0 commit comments

Comments
 (0)
Please sign in to comment.