can we create a object in static block
class A
{
static {
A a=new A();
}
}
Answer Posted / chellammal
Yes, we can create a object in static block
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is Java Swing?
What are swings?
Write a program to paint the off-screen buffer in swings
What are swing controls?
Who created the swing?
Why swing components are called lightweight components?
Is swing better than awt?
What is swing gui in java?
What is java swing application?
What is import javax swing?
What are the different types of layout managers used in swing?
What is swing framework in java?
Explain how to render an html page using only swing.
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
How to render an html page using only swing.