The default__ of objects protects private and trancient data, and supports the __ of the classes

a)evolution
b)encoding
Ans:a,b.

Which are keywords in Java?

a) NULL
b) sizeof
c) friend
d) extends
e) synchronized
Ans :d and e.

When must the main class and the file name coincide?

Ans :When class is declared public.

What are different modifiers?

Ans : public, private, protected, default, static, trancient, volatile, final, abstract.

What are access modifiers?

Ans : public, private, protected, default.

What is meant by "Passing by value" and " Passing by reference"?

Ans : objects – pass by referrence
Methods - pass by value

Is a class a subclass of itself?

Ans : A class is a subclass itself.

What modifiers may be used with top-level class?

Ans : public, abstract, final.

What is an example of polymorphism?

Inner class
Anonymous classes
Method overloading
Method overriding
Ans : c

Packages and interface

What are packages ? what is use of packages ?

Ans :The package statement defines a name space in which classes are stored.If you omit the package, the classes are put into the default package. Signature... package pkg; Use: * It specifies to which package the classes defined in a file belongs to. * Package is both naming and a visibility control mechanism.

Google