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 abstract class? Explain
When should you make a function static?
How to do encapsulation in java?
What is the base class of all exception classes?
Which class is used by server applications to obtain a port and listen for client requests?
What are the main uses of this keyword?
Does java arraylist maintain insertion order?
What is the difference between size and length in java?
What is anti pattern in programming?
Difference between vector and arraylist.
How to sort list of list in java?
Is java good for beginners?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What do you understand by the bean persistent property?
What flag up means?