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 a static block?

Answer Posted / madan

static block contains a code which is executed without
object of a class.i.e is excuted at the time of class
loading

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a code to show a static variable?

1089


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

958


Explain about class in java?

1096


What are keywords in java?

1000


What is a qualifier in a sentence?

986


What are the methods to rectify ambiguities in the interfaces in JAVA?

1082


How does the java compiler work?

970


Tell some latest versions in JAVA related areas?

984


What are bind parameters?

1041


What are the differences between getting and load method?

1179


What is instance means in java?

1043


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

2013


Is array an object in java?

957


Explain how hashmap works?

1061


Can you give few examples of final classes defined in java api?

1004