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 the differences between Swing and AWT?
Write a program to include the internal frame in swing.
What is swing delegation event model in java?
What is a swing application?
What is a swing day?
How do you swing an applet?
Is javafx better than swing?
What are the benefits of swing over awt?
How to reload a jframe in java swing?
Which method is used for setting security in applets?
Why swing is used in java?
What is import javax swing jframe?
Why are swings considered lightweight?
What are swing controls?
How to print in java swing application?