Questions of Test: Java interview questions-1

More >>

1

Which of the following statements are true about interfaces and abstract classes?

2

Can the value of a final variable be changed

3

What is result Set ?

4

What is the use of finalize method ?

5

What is the concrete class of DateFormat for formatting and parsing dates in a locale-sensitive manner ?

6

You need an explicit constructor for any class ?

7

When I say this "the ability of a single variable of a given type to be used to reference objects of 
different types, and automatically call the method that is specific to the type of object the variable references", what I am talking about

8

What is the difference between an abstract class and an interface and when should you use them?

9

When I say this "is the inclusion of behavior (i.e. methods) and state (i.e. variables) of a base class in a derived class so 
that they are accessible in that derived class", what I am talking about  ?

10

What is the substitute for java.util.StringTokenizer ?

More >>