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
Is swing part of core java?
What is jpanel in java swing with example?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
What is the role of java swing?
Can a class be it?s own event handler? Explain how to implement this?
What is swing components in java?
What is the difference between applications and applets?
Is there any heavyweight component in swings?
Is swing still used in java?
What is the class in swing to change the appearance of the frame in runtime?
Where is java swing used?
What are the advantages of the event-delegation model over the event-inheritance model?
Explain how to render an html page using only swing.
What are the advantages of swing?
How to link two forms in java swing?