Download Main.java from Narra123/Java_app: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/spaces/Narra123/Java_app/resolve/efeee57757975b53abe38ff81bbd29ef5c446bb4/Main.java
- Command line
-
hf download hf://spaces/Narra123/Java_app@efeee57757975b53abe38ff81bbd29ef5c446bb4/Main.java
-
curl -L -o Main.java https://huggingface.co/spaces/Narra123/Java_app/resolve/efeee57757975b53abe38ff81bbd29ef5c446bb4/Main.java
232 Bytes
| public class Main { | |
| public static void main(String[] args) { | |
| int a =20; | |
| if(a%2==0){ | |
| System.out.println("Even number"); | |
| } | |
| else{ | |
| System.out println("odd number"); | |
| } | |
| } | |
| } |