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

Can a class extend more than one class?

0 Answers  


Difference between prefix and postfix forms of the ++operator?

3 Answers  


What is meant by data hiding/encapsulation?

0 Answers   Cyient,


What is the difference between reader/writer and inputstream/output stream?

0 Answers  


How to print nodes of a Binary tree?

0 Answers  


What is the difference between object oriented programming language and object based programming language?

0 Answers  


What is string and example?

0 Answers  


What is the difference between interface & abstract class?

0 Answers  


What is the use of runnable interface?

0 Answers  


Can we serialize singleton class?

0 Answers  


Can we pass a primitive type by reference in java? How

0 Answers  


if two references are having same hash codes,is that means those are refering to same object?

5 Answers   CTS,


Categories