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
The number of subscripts(indexes) in 2D array is two(2).Both row and column size must be __________________.
Integer constantsExample: int a[2][3]; Here a is an array consisting of two rows with each row with each row consists of 3 integer elements
A) String[ ] s;B) String [ ]s:C) String[ s]:D) String s[ ]:
Latest Answer : String s[] ={"HAPPY DAYS"};String []s1 ={"SMILE FOR EVER"}; String[] s2 ={"WISH ALL THE BEST"};//String [s] = {"ITS WONT WORKS"}The above three statements works properly ...
A) 0 to 215-1 B) 0 to 216-1 C) 0 to 215 D) 0 to 216
Latest Answer : the range of char is 0 to 2^16 -1http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html) char range is 65535 that is equivalent to 2^16 -1 so answer B is right ...
A) The Void class extends the Class class.B) The Float class extends the Double class.C) The System class extends the Runtime class.D) The Integer class extends the Number class.
Latest Answer : D is true ...
A) TrueB) False
Latest Answer : falseseparator [] is used to represent array size ...
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. ...