FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaArithmetic/src/datastructure/array/Main.java at master · freestylewill/JavaArithmetic · GitHub
freestylewill
JavaArithmetic
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaArithmetic
/
src
/
datastructure
/
array
/
Main.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (23 loc) · 668 Bytes
Breadcrumbs
JavaArithmetic
/
src
/
datastructure
/
array
/
Main.java
Copy path
File metadata and controls
32 lines (23 loc) · 668 Bytes
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
package
datastructure
.
array
;
public
class
Main
{
public
static
void
main
(
String
[]
args
) {
Array
<
Integer
>
arr
=
new
Array
<>();
for
(
int
i
=
0
;
i
<
10
;
i
++)
arr
.
addLast
(
i
);
System
.
out
.
println
(
arr
);
arr
.
add
(
1
,
100
);
System
.
out
.
println
(
arr
);
arr
.
addFirst
(-
1
);
System
.
out
.
println
(
arr
);
arr
.
remove
(
2
);
System
.
out
.
println
(
arr
);
arr
.
removeElement
(
4
);
System
.
out
.
println
(
arr
);
arr
.
removeFirst
();
System
.
out
.
println
(
arr
);
for
(
int
i
=
0
;
i
<
4
;
i
++){
arr
.
removeFirst
();
System
.
out
.
println
(
arr
);
}
}
}
Back
|
FazBrowse Home
|
New Git URL