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 are swing controls?
What is difference between swing and awt?
What are the components of swing?
What is swing gui?
What is the base class for all swing components?
Why swings are called lightweight components?
What are the two key features of swing?
What is actionlistener in java swing?
What is the function of abstractaction class?
What is swing used for?
Why is model-view-controller architecture used in swing?
What is sling swing?
What are heavyweight components? What is lightweight component?
What is javax swing joptionpane?
What is the purpose of action interface in swing?