can we write a program with out a class in core java?
Answer Posted / saran
it is possible to create java program without userdefined class.
public enum AAA {
AAA;
public static void main(final String[] args) {
System.out.println("H");
}
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is int a class in java?
What does it mean to flush a file?
Explain the available thread states in a high-level?
What do you mean by formatting?
Why does java doesnt suuport unsigned values?
What is the different between get and post?
Which method returns the length of a string?
What is memory leak and how does java handle it?
Can we overload destructor in java?
Is array size fixed in java?
Why we used vector class?
What does java edition mean?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is boolean law?
What is command line argument