Set - 1

Question 46 :

What is core packages ?

Answer :

The required set of APIs in a Java platform edition which must be supported in any and all compatible implementations.


Question 47 :

What is credentials ?

Answer :

The information describing the security attributes of a principal. Credentials can be acquired only through authentication or delegation.


Question 48 :

What is critical section ?

Answer :

A segment of code in which a thread uses resources (such as certain instance variables) that can be used by other threads, but that must not be used by them at the same time.


Question 49 :

What is declaration ?

Answer :

A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods). See also definition.


Question 50 :

What is default ?

Answer :

A Java keyword optionally used after all case conditions in a switch statement. If all case conditions are not matched by the value of the switch variable, the default keyword will be executed.