Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Switch case example
//'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[]) { String s="roshini"; switch(s) { case "sowmiya" : System.out.println(s); break; case "roshini": System.out.println("roshini"); break; default: System.out.println("Not a name"); } } }
run
|
edit
|
history
|
help
0
JAVA # Dizi ile Fibonaççi
Dollar. java
float
namingVariables
js
Write a program to sort the odd elements descending order and even elements in ascending order
Linked List creation
Loop from 5 to 15
fs
3rd