Set - 2

Question 11 :

What is else ?

Answer :

A Java keyword used to execute a block of statements in the case that the test condition with the if keyword evaluates to false.

Question 12 :

What is Embedded Java Technology ?

Answer :

The availability of Java 2 Platform, Micro Edition technology under a restrictive license agreement that allows a licensee to leverage certain Java technologies to create and deploy a closed-box application that exposes no APIs.

Question 13 :

What is encapsulation ?

Answer :

The localization of knowledge within a module. Because objects encapsulate data and implementation, the user of an object can view the object as a black box that provides services. Instance variables and methods can be added, deleted, or changed, but as long as the services provided by the object remain the same, code that uses the object can continue to use it without being rewritten. See also instance variable, instance method.

Question 14 :

What is enum ?

Answer :

A Java keyword used to declare an enumerated type.

Question 15 :

What is enumerated type ?

Answer :

A type whose legal values consist of a fixed set of constants.