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 jagged array in java?

0 Answers  


What is JAVA? Why it is platform independent?

10 Answers   NIIT,


what is difference between String buffer and String builder?

5 Answers   Benchmark,


what is the use of clone method? why user cant overwrite in sub class without its proper defination.

2 Answers   TCS,


What is primitive array?

0 Answers  


What modifiers are allowed for methods in an interface?

0 Answers  


What does || mean in code?

0 Answers  


What is the difference between jfc & wfc?

0 Answers  


What are the benefits of operations?

0 Answers  


What is the purpose of static methods and static variables?

0 Answers  


what is Remote Reference Layer ?

1 Answers  


how can be object class inherited to all class in a program when java does not support multiple inheritance??

4 Answers  


Categories