In JDK 1.5, you may directly assign a primitive data type value to a wrapper object. This is called ______________.

a. auto boxing
b. auto unboxing
c. auto conversion
d. auto casting


a

Computer Science & Information Technology

You might also like to view...

________ to a base class may be assigned the address of a derived class object.

A) Access specifiers B) Static members C) Private members D) Pointers E) None of the above

Computer Science & Information Technology

An airline company wants you to develop an application that displays flight information (Fig. 26.41). The database contains two tables, one containing information about the flights and the other containing passenger information. The user should be able to choose a flight number from a JComboBox. When the View Flight Information JButton is clicked, the application should display the date of the flight, the flight’s departure and arrival cities and the names of the passengers scheduled to take the flight. The provided airline database contains two tables—reservations and flights. The reservations table (Fig. 26.42) has three columns—firstName, lastName and flightNumber. The values in the firstName and lastName column are Strings. The values in the





a) Copying the template to your working directory. Copy the C:Examples Tutorial26ExercisesAirlineReservation directory to your C:SimplyJava directory.

b) Copying the database to your working directory. Copy the airline database directory from C:ExamplesTutorial26ExercisesDatabases to your C:Simply- JavaAirlineReservation directory.

c) Opening the template file. Open the AirlineReservation.java file in your text editor.

d) Adding a database connection and creating a Statement object. In line 45 in the AirlineReservation constructor, insert statements that load the database driver, connect to the airline database and create a Statement to submit SQL to the data- base. Assume that the driver class name and JDBC URL are passed to the construc- tor from main. Note that three instance variables—myConnection, myStatemen

Computer Science & Information Technology

LinkedIn offers its own internal ________ system

A) chat B) video chat C) email D) group conferencing

Computer Science & Information Technology

All of the following statements are TRUE about importing XML data EXCEPT:

A) XML is an increasingly popular tool working behind the scenes in Excel. B) XML allows users to define their own tags in order to define the content of the document. C) XML and HTML are examples of markup languages. D) Most web pages are programmed in XML.

Computer Science & Information Technology