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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java predicate?

1020


What is entry in java?

1078


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

1062


What ide should I use for java?

1097


What is string data type?

1021


What do you understand by private, protected and public?

1092


What is the difference in between cpp and java? Can u explain in detail?

1158


What is a generic code?

1133


What is the purpose of skeleton and stub?

1353


How to create a base64 decoder in java8?

1111


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1295


Is the milky way in a void?

1008


What does += mean coding?

999


Why does abstract class have constructor?

1067


What is the difference between synchronized and synchronized block?

1108