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

Difference between overloading and overridding?

4 Answers  


How can we find the sum of two linked lists using stack in java?

0 Answers  


Define Wrapper Classes in Java.

1 Answers  


What is an example of a boolean?

0 Answers  


Which all r Final classes in java except string?

5 Answers   HCL,


What are the types of sockets in java?

0 Answers  


What is the finalize method do?

0 Answers  


What are the features of java?

0 Answers  


What is the difference between static class and normal class?

0 Answers  


How many static init can you have?

0 Answers  


Explain the selection sort algorithm?

0 Answers   Hexaware,


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

0 Answers  


Categories