How we can save java file without name -
i want save java file name , want compile or run file. possible in java or not?
example:
class { public void display() { system.out.println("hello ..how you..??"); } }
i want save file name .java
only. possible in java , if possible how can compile file without name through cmd?
if try get
.java:1: error: class public, should declared in file named a.java
so not.
Comments
Post a Comment