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
Explain the inheritance?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
What is a Transient Object?
What is lambda expression in java?
What are keyboard events?
What is array sorting in java?
what is a thread pool in java and why is it used?
What is abstract class constructor called?
What is local declaration?
What about member inner classes?
What are the characteristics of java?
What is variable and rules of variable?
List out benefits of object oriented programming language?
What is prefix of a string?
Which access specifier can be used with class ?