Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sort
/'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int a= new int [ ]; a=[2;3;5;8;9 ]; int i,j,temp; for( j=0;j<5;j++) { for(i=0;i<5;i++) { if(a[j]>A[i]) { temp=a[i]; a[i]=a[i+1]; a[i+1]=temp; }}} for (i= 0;i<5;i++) System.out.println(a[i]); } }
run
|
edit
|
history
|
help
0
String is not reference Type??
1.5
Problem_fib
Print Count Strings
java
Rotate matrix clockwise
Java Constructors
Convert string array to lowercase.
Remove unbalanced parentheses in a given expression
boundary vs core