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 synchronization and why is it important in java programming?

0 Answers  


What is the top class of AWT event hierarchy?

5 Answers  


What are the differences between unchecked exception, checked exception, and errors?

2 Answers  


Advantages of Inheritance in java.

11 Answers   CybAge, HCL,


Is java type safe?

0 Answers  


What is google full form?

0 Answers  


What are methods and how are they defined?

0 Answers  


What types of index data structures can you have in java?

0 Answers   Tech Mahindra,


Explain importance of inheritance in java?

0 Answers  


When garbage collector invokes object?s finalize() method?

5 Answers  


Who found java?

0 Answers  


What are static methods?

0 Answers  


Categories