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
Explain how to render an html page using only swing.
What is the base class for all swing components?
Is swing an api?
What are the features of swing in java?
Which window contains the swing controls?
What are the advantages of the event-delegation model over the event-inheritance model?
What are differences between swing and awt?
What is the difference between swing and awt?
What is the design pattern that java uses for all swing components ?
Why swing components are called lightweight components?
How to print in java swing application?
What are swings?
Is swing still used in java?
What is the difference between a scrollbar and a jscrollpane ?
What is the use of jfc in java swing?