can we create a object in static block
class A
{
static {
A a=new A();
}
}
Answer Posted / rabin pati
Yes we can create
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which swing methods are thread-safe?
Is swing thread-safe?
How to render an html page using only swing.
Why swing is better than awt?
What is the use of swing in java?
Which method of the Component class is used to set the position and size of a component?
Is swing better than awt?
Why are swing components called lightweight?
How to move from one page to another in java swing?
What is the function of internal frame in swing?
Which is better swing or awt?
What is difference between jframe and swing?
What is Java Swing?
Why swings are used in java?
What is double buffering ?