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
Can a set contain duplicates?
What is n in java?
What is oops in java?
What is JFC?
Can a static class implement an interface?
What is an immutable object? How do you create one in java?
Can we declare a static variable inside a method?
What is generic class?
Write a program to print fibonacci series
List some oops concepts in java?
Can you extend singleton class?
Explain about interrupt() method of thread class ?
What is difference between word and integer?
What are the steps in the jdbc connection?
Explain the difference between abstract classes and interfaces in java?