can we write a program with out a class in core java?
Answer Posted / subrat
ya we can do it by using enum,but it is also a predefined class.
public subrat
{
subrat;
public static void main(String k[])
{
System.out.println("SUBRAT");
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a boolean used for?
Can we create our own wrapper class in java?
Is java se free?
What do you understand by the term string pool?
How do you initialize an arraylist in java?
What is meant by string is immutable?
what are abstract functions?
Is 0 true or false in java?
What are checked exceptions?
What is replaceall in java?
What are peerless components?
What is square root in java?
What is the replace tool?
Why java is considered as platform independent?
What is definition and declaration?