Questions
Which of the following methods is not defined in ResultSetMetaData interface?
- getColumnClassName(int column)
- getScale(int column)
- isCaseSensitive(int column)
- getColumnSize(int column)
- isSearchable(int column)
Which of the following methods is not defined in DatabaseMetaData interface?
- allProceduresAreCallable()
- allTablesAreSelectable()
- autoCommitFailureClosesAllResultSets()
- dataDefinitionCausesTransactionCommit()
- allTablesSelected()
Which of the following methods is defined in DatabseMetaData interface in Java Database Programming?
- getMaxTableLength()
- getMaxTables()
- getMaxCharLiteralLength()
- getMaxUserLength()
- getSchema()
Which of the following methods is not defined in the ResultSet interface in Java?
- cancelRowUpdates()
- deleteRow()
- clearWarnings()
- deleteColumn()
- absolute(int row)
Which of the following methods in Timestamp class returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Timestamp object?
- getTime()
- Time()
- getMilliseconds()
- getTimeInMilliseconds()
- Milliseconds()
Which of the following methods in ResultSet interface refreshes the current row with its most recent value in the database?
- rowRefresh()
- refreshRow()
- refreshIt()
- refreshAll()
- refreshCurrentRow()
Which of the following methods in DatabaseMetaData interface retrieves the JDBC driver's major version number?
- getMajorDriverVersion()
- getMajorVersion()
- getDriverVersion()
- getDriverMajorVersion()
- getDriversMajorVersion()
How many methods are defined in Date class in Java?
- 10
- 9
- 8
- 7
- 6
Which of the following methods is present in DatabaseMetaData in Java Database Programming?
- isReadOnly()
- isCurrency(int column)
- isDefinitelyWritable(int column)
- isWritable(int column)
- isReadOnly(int Column)
Which of the following methods is not defined in the DriverManager class in Java Database Programming?
- getConnection(String url, String user, String password)
- deregisterDriver(Driver driver)
- getLoginTimeout()
- registerDriver(Driver driver)
- getLog()
Which of the following methods is not defined in ParameterMetaData interface in Java Database Programming?
- isSigned(int param)
- isNullable(int param)
- getParameterCount()
- getParameterName(int param)
- getParameterType(int param)
Which of the following methods in DatabaseMetaData retrieves the maximum number of columns allowed in a table by Java Database?
- getMaxColumns()
- getMaxColumnsInTable()
- getMaxColsInTable()
- getMaxCols()
- None of these
Which of the following methods in DatabaseMetaData interface retrieves the maximum number of characters the database allows for a column name?
- getMaxColumnLength()
- getMaxColumnNameLength()
- getMaxColNameLength()
- getMaxColLength()
- getColumnNameLength()
Which of the following methods in ParameterMetaData interface retrieves the designated parameter's database-specific type name?
- getParameterName(int param)
- getParameterType(int param)
- getParameterTypeName(int param)
- getParameterNameType(int param)
- getTypeOfParameter(int param)
Which of the following methods is present in ResultSetMetaData interface in Java Database Programming?
- isWritable(int column)
- isReadable(int column)
- getColumnsName(int column)
- getColumnsCount()
- getSchema(int column)