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
How to change button color in java swing?
What method is used to specify a container's layout?
What is swing and awt in java?
What is an event and what are the models available for event handling?
What are the various components of swing?
What is awt and swing?
What do you mean by java swing?
Explain the difference between swing and jsf.
What is swing framework in java?
Is java swing still used?
Write a program to paint the off-screen buffer in swings
What is import javax swing in java?
What is difference between jframe and swing?
Which method of the Component class is used to set the position and size of a component?
What is swing package in java?