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

Explain the difference between private, public, package and protected in java?

0 Answers  


What are accessor methods in java?

0 Answers  


What is method Overloading in the perspective of OOPS?

6 Answers  


Can a class be subclass of itself?

4 Answers  


Can each java object keep track of all the threads that want to exclusively access it?

0 Answers  


Is string pool garbage collected?

0 Answers  


What is the difference between array list and vector in java?

0 Answers  


What are the two ways you can synchronize a block of code?

5 Answers   Ericsson,


Explain about map interface in java?

0 Answers  


What is a programming object?

0 Answers  


How can I right-justify a string?

0 Answers   Aspire, Infogain,


Why for each loop is used?

0 Answers  


Categories