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 is non static block in java

Answer Posted / raj_allinterview

Non static block is a block which is surounded by { and }
for ex :

{
//code goes here
}

The code within non static block is executed whenever a new
instance of that class is created.
It is instance block.

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if an exception is not handled in a program?

1094


What is boolean false?

970


What is pojo class in java?

1083


What is the difference between length and length() method in java?

1094


Define locale.

1032


Can we force garbage collector to run ?

1049


Explain the private protected method modifier?

974


What happens if constructor is private?

1018


What is the difference between logical data independence and physical data independence?

1025


What steps are taken when the OS shifts from one-thread execution to another?

1359


what is bmg file and how to create that files?what will it contailn?

2344


What is a programming object?

1095


Explain the init method?

983


What is class array in java?

1037


What is a dynamic array in java?

1169