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

Which object oriented concept is achieved by using overloading and overriding?

0 Answers  


Is there memory leaks in java?

3 Answers  


How many boolean functions are there?

0 Answers  


what is request processor?

1 Answers   Virtusa,


What is map and hashmap in java?

0 Answers  


How to use Media tracker Class.

0 Answers  


Can you override static method in java?

1 Answers  


How do you add an element to an arraylist in java?

0 Answers  


Is there any limitation of using inheritance?

0 Answers  


How the metacharacters are different from the ordinary characters?

0 Answers  


Which oo concept is achieved by using overloading and overriding?

0 Answers  


Do I need to import java.lang package any time? Why?

1 Answers  


Categories