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 protected in java?
Where are the card layouts used?
What environment variables do I need to set on my machine in order to be able to run java programs?
What is meant by structural programming?
what is the difference between preemptive scheduling and time slicing? : Java thread
What is a boolean flag in java?
What is the escape character in java?
How do we access static members in java?
How will you call an Applet using Java Script Function?
What is balanced tree in java?
What is method overloading in java ?
What is synchronization and why is it important in java programming?
What is the exception hierarchy in java?
What are different data structures in java?
What is a war file?