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 the difference between awt and swt.
What is layout in java swing?
Which types of components are used in designing swing based gui?
What class is at the top of the AWT event hierarchy?
What are the components of swing?
Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.
What is a component in swing?
Explain the difference between swing and jsf.
What are the advantages of java swing over angular?
How to generate bill in java swing?
Which layout does swing use by default?
What are the two key features of swing?
What are heavy weight components ?
How to create a swing gui in java?
Why swing components are called lightweight components?