Latest Answer : syncronized - key word used for maintain consistence state of common resource like a file, an array, a variable ,etc when many thread share among them. in java this is syncronization implemented in two ways 1. synchrnization method 2. ...
Latest Answer : vector can be called as dynamic array its size cn shrink and grow dynamically ...
Can give answer to the folloing questionQuestion 2You are in charge of implementing a Grand Prix Car Racing Results system for a sports magazine, to be used for entering and processing data concerning each Formula 1 Grand Prix that has been run in the season.As you know, each driver is part of the team, and has a number. At the end of each race, the driver who arrived first is assigned 9 points, and the following five drivers receive 6,4,3,2 and 1 point each. Drivers who come in after the sixth
A) FalseB) True
Latest Answer : False. The word synchronized can also be used to make a block of code synchronized.Eg: synchronized(object) { ............code........... }Raghu. ...
Which of the following is true?1) wait(),notify(),notifyall() are defined as final & can be called only from with in a synchronized method2) Among wait(),notify(),notifyall() the wait() method only throws IOException3) wait(),notify(),notifyall() & sleep() are methods of object class
A) 1B) 2 & 3C) 1 & 2D) 1 2 & 3
A) NULLB) sizeofC) friendD) extendsE) synchronized
Latest Answer : NULL, extends, and synchronized are keywords in Java ...
Latest Answer : Try to avoid the old Vector class. Use the List implementations (LinkedList, ArrayList). If you need them to be synchronized wrap them using Collections.synchronizedList(...). Much better performance this way. ...