Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

SQL Questions

1. Describe the difference between inner and outer join.


2. What operator would you use to sort the data returned from query?
3. How do you compare two tables?
4. When was the last time you wrote a query to join two tables?
5. When was the last time you wrote a query, which uses nested select statement? Please
describe details of the query.
6. When is a ‘group by’ clause used? Give an example.

Java Questions:

Which modifier can only be accessed from within the declared class?

Private

Can you instantiate a static class?

No

In Java, what keyword do you use to prevent the class from being inherited?

Final

In Java, what are the two category data (types) in java?

Primitive and non primitive

In Java, which one of the following is the Reference type (build in JVM): integer, long, float, array, byte

array

In Java, how do you instantiate an object from the Interface without the implementation class?

Use anonymous class

You might also like