Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the differences between Swing and AWT?

1126


Write a program to include the internal frame in swing.

992


What is swing delegation event model in java?

1086


What is a swing application?

971


What is a swing day?

1073


How do you swing an applet?

1081


Is javafx better than swing?

1043


What are the benefits of swing over awt?

1177


How to reload a jframe in java swing?

1028


Which method is used for setting security in applets?

1082


Why swing is used in java?

988


What is import javax swing jframe?

1009


Why are swings considered lightweight?

1026


What are swing controls?

966


How to print in java swing application?

939