How can u create the Object of class Without using "New"
opertor?
Answer Posted / seshu godavarthi
when the class is declared as static we can create an
object for the class without instantiating or without using
new operator...we can access the variables or methods in
the class by using the classname
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the difference between jvm and jre? What is an interface?
Is java based on c?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
How to sort an array in java without using sort method?
Explain the transient field modifier?
Can a class have multiple constructors?
What is the meaning of I ++ in java?
How do you sort in ascending order in java?
What is JVM and is it platform independent?
What are untrusted applets?
What do you mean by platform independence of Java?
How do you use equal in java?
What are the classes of java?
What is jpa specification?
what is synchronization? : Java thread