can we create object for static class in java
Answer Posted / sriragv
There is no need to instantiate the object to make a copy
of the class in your system because already there is a copy
of the class will be available in the JVM we can directly
access them by 'class.member'
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is the difference between final, finally and finalize() in java?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is the significance of listiterator?
What is the use of string and stringbuffer?
Does list maintain insertion order java?
How many ways can you break a singleton class in java?
What is the difference between == and === javascript?
What are three advantages of using functions?
What is return data type?
How can we create objects if we make the constructor private ?
What is jar?
Can we serialize arraylist in java?
What is the difference between a constructor and a method?
Can a vector contain heterogenous objects?
What is a boolean flag in java?