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
How do I convert a string to an int in java?
What is boolean query?
Why there are some null interface in java? What does it mean?
Is nan false?
What is bifunction in java?
Explain 5 io best practices?
Do loops java?
what is the volatile modifier for? : Java thread
What is immutability in java?
What is final?
How many types of interfaces are there?
What are the different tags provided in jstl?
What is finally in Java?
What are the steps involved to write rmi based programs?
Difference between process and thread?