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...


What are blocks?.



What are blocks?...

Answer / amit singh

blocks is a group of single and compound statements
between the braces { }
class Amit
{
Amit()
{
Sysem.out.println("constructor");
}
{//begin block instance itializer block

System.out.prinln("amit");

}//end the block

psvm(String [] args)
{

boolean b=true;

if(b)
{//begin block

System.ou.println("boolean");

}//end of block
.
.
.//crete objec in psvm
.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is CardLayout?

1 Answers   Infosys,


Can we call virtual funciton in a constructor ?

0 Answers   XX,


What is variable explain?

0 Answers  


wht is customised exception?

1 Answers   Logica CMG, Novell, Prudential,


What is a programming object?

0 Answers  


Is java supports multiple inheritance? explain?

12 Answers   BUET, Inforica,


Difference between interface and abstract class with ex.

4 Answers   Cognizant, Tech Mahindra,


Explain where variables are created in memory?

0 Answers  


Is it possible to make an array volatile?

4 Answers  


finalize() method?

5 Answers  


Is intellij better than eclipse?

0 Answers  


Is java owned by oracle?

0 Answers  


Categories