FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-programming/javaUpdates/src/array/StudentDriver.java at master · 9146887137/java-programming · GitHub
9146887137
/
java-programming
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-programming
/
javaUpdates
/
src
/
array
/
StudentDriver.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
63 lines (57 loc) · 1.75 KB
Breadcrumbs
java-programming
/
javaUpdates
/
src
/
array
/
StudentDriver.java
Copy path
File metadata and controls
63 lines (57 loc) · 1.75 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package
array
;
import
java
.
util
.
ArrayList
;
import
java
.
util
.
Arrays
;
import
java
.
util
.
Collection
;
import
java
.
util
.
Collections
;
import
java
.
util
.
Comparator
;
import
java
.
util
.
HashMap
;
import
java
.
util
.
HashSet
;
import
java
.
util
.
List
;
import
java
.
util
.
Set
;
import
java
.
util
.
TreeMap
;
import
java
.
util
.
TreeSet
;
public
class
StudentDriver
{
public
static
void
main
(
String
[]
args
) {
//
// Comparator<Student> com=(o1,o2)->o1.age>o2.age?1:o1.age<o2.age?-1:0;
// Comparator<Integer> co=(o1,o2)->o1>o2?1:o1<o2?-1:0;
//
// Collection<Student> set=new ArrayList<Student>();
// TreeSet<Student> set1=new TreeSet<Student>();
//
// //List<Integer> c=(List<Integer>) new HashSet<Integer>();
//
// set.add(new Student("Akash", 26));
// set.add(new Student("sumit", 24));
// set.add(new Student("abhi", 22));
// set.add(new Student("shubham", 27));
//
// set1.add(new Student("Akash", 26));
// set1.add(new Student("sumit", 24));
// set1.add(new Student("abhi", 22));
// set1.add(new Student("shubham", 27));
//
//
// //Collections.sort(set, com);
//
// System.out.println(set);
//
//
// TreeMap<Integer, Student> tmap=new TreeMap<Integer, Student>(co);
// tmap.put(17, new Student("Akash", 26));
// tmap.put(21, new Student("sumit", 24));
// tmap.put(3, new Student("abhi", 22));
// tmap.put(14, new Student("shubham", 21));
// tmap.put(4, new Student("shubham", 27));
// tmap.put(4, new Student("shubham", 27));
//
// System.out.println(tmap.keySet());
// System.out.println(tmap.clone());
//
// System.out.println(set instanceof Collection?" yes":"NO");
// //System.out.println(c instanceof Collection?" yes":"NO");
//
StaticEx1
s
=
new
Stat2
();
System
.
out
.
println
(
Stat2
.
a
);
}
}
Back
|
FazBrowse Home
|
New Git URL