Answer Posted / mahipal
no,because java is purely object oriented language,so we can't create the objects with out writing a class.And also we can save the code as classname.java that's the reason also we must create a class
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are voids?
What are the drawbacks for singleton class?
What is singleton class example?
What is the r character?
Can we clone singleton object?
How do you create a sop?
What is meant by inheritance and what are its advantages?
What does exp mean in math?
How many ways can we create the string object?
what do you mean by marker interface in java?
What is an object's lock and which object's have locks in java programming?
How is hashcode calculated in java?
How do I know if java is installed?
How do you sort a list in java?
How do you implement polymorphism in our day to day life?