you distribute and then combine like terms. x=4 :))
Answer:
Connection
Explanation:
We can get DatabaseMetaData from the java.sql.Connection object.
The relevant API call is Connection.getMetaData().
This returns an object of the type DatabaseMetaData.
Some of the methods available as part of the DatabaseMetaData object are:
- getDatabaseMajorVersion()
- getDatabaseMinorVersion()
- getDriverName()
- getDriverVersion()
- isReadOnly()
- getCatalogs()
- getTables()
- supportsBatchUpdate()
- supportsUnion()
Answer:
if ((b*b - 4*a*c)<0)
cout << "no real solutions";
return;
Explanation:
To check if "b squared" – 4ac is negative, we use the expression if ((b*b - 4*a*c)<0). This expression evaluates the 'bsquared' and substracts '4ac' from it. It then compares the resulting value with zero. if it is less than zero it means it is a negative number, so it executes the statement following cout << "no real solutions"; and returns