What is Domain Naming Service(DNS)?-
It is very difficult to remember a set of numbers(IP address) to connect to the Internet. The Domain Naming Service(DNS) is used to overcome this problem. It maps one particular IP address to a string of characters. For example, www. mascom. com implies com is the domain name reserved for US commercial sites, moscom is the name of the company and www is the name of the specific computer, which is mascom’s server.
What are access modifiers
: These public, protected and private, these can be applied to class, variables,
constructors and methods. But if you don�t specify an access modifier then it is
considered as Friendly
What is your platform’s default character encoding
If you are running Java on English Windows platforms, it is probably Cp1252. If you are running Java on English Solaris platforms, it is most likely 8859_1
How are the elements of a BorderLayout organized
The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.
What is a Java Bean?-
A Java Bean is a software component that has been designed to be reusable in a variety of different environments
Is “abc” a primitive value
The String literal “abc” is not a primitive value. It is a String object.
What is the difference between a Choice and a List
A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices. Only one item may be selected from a Choice.
A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.
What’s new with the stop(), suspend() and resume() methods in JDK 1.2?
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
What event results from the clicking of a button
The ActionEvent event is generated as the result of the clicking of a button.
Can abstract class be instantiated
No abstract class cannot be instantiated i.e you cannot create a new object of this
class