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 are the drawbacks for singleton class?
What are the differences between abstract class and interface?
What are different data types?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What is == mean?
Give few examples of final classes defined in Java API?
What is regex used for?
What is an argument java?
Which methods cannot be overridden in java?
Why static functions are used?
What is the difference between Grid and Gridbaglayout?
What must a class do to implement an interface in java programming?
what is meant by HQL?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
What do you mean by ordered and sorted in collections in java?