Questions from Starting Out With Java


Q: Write a statement to delete the Book table you created in Checkpoint16

Write a statement to delete the Book table you created in Checkpoint16.25. Data from Checkpoint 16.25: Write the SQL statement to create a table named Book. The Book table should have the columns to...

See Answer

Q: Assume that d is a double variable. Write an if statement

Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger than the maximum value for an int.

See Answer

Q: What is the technology that makes it possible for a Java application

What is the technology that makes it possible for a Java application to ­communicate with a DBMS?

See Answer

Q: What is the standard language for working with database management systems?

What is the standard language for working with database management systems?

See Answer

Q: What is a database URL?

What is a database URL?

See Answer

Q: Suppose you have either Java DB or Apache Derby database on your

Suppose you have either Java DB or Apache Derby database on your system named InventoryDB. What database URL would you use in a Java program to get a connection to the database?

See Answer

Q: What static JDBC method do you call to get a connection to

What static JDBC method do you call to get a connection to a database?

See Answer

Q: Describe how the data that is stored in a table is organized

Describe how the data that is stored in a table is organized.

See Answer

Q: What is a primary key?

What is a primary key?

See Answer

Q: How do you make a text field read-only? In

How do you make a text field read-only? In code, how do you store text in a text field?

See Answer