can we write a program with out a class in core java?
Answer Posted / juned
yes,It is possible by using enum(which is a predefine class)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a super method?
What is a hashmap used for?
How do you access command-line arguments within the code?
What is boolean law?
What are the six ways to use this keyword?
What is the difference between hashmap and hashtable? What is an interface?
What is variable and its types?
What is difference between filereader and bufferedreader?
What is a substring of a string?
What is the difference between double and float variables in java?
What is a conditional equation?
In Java list the methods that can be overridden?
Why Java doesn’t support multiple inheritance?
What about instanceof operator in java?
What are constructors in java?