Wednesday, May 7, 2008

Java Interview Questions 29

141. Question: Parsers? DOM vs SAX parser
Answer: parsers are fundamental xml components, a bridge between XML documents and
applications that process that XML. The parser is responsible for handling xml
syntax, checking the contents of the document against constraints established in a
DTD or Schema.

142. Question: What is a platform?
Answer: A platform is the hardware or software environment in which a program runs.
Most platforms can be described as a combination of the operating system and
hardware, like Windows 2000/XP, Linux, Solaris, and MacOS.

143. Question: What is the main difference between Java platform and other
platforms?
Answer: The Java platform differs from most other platforms in that it's a
software-only platform that runs on top of other hardware-based platforms. The Java
platform has two components:

1. The Java Virtual Machine (Java VM)
2. The Java Application Programming Interface (Java API)

144. Question: What is the Java Virtual Machine?
Answer: The Java Virtual Machine is a software that can be ported onto various
hardware-based platforms.

145. Question: What is the Java API?
Answer: The Java API is a large collection of ready-made software components that
provide many useful capabilities, such as graphical user interface (GUI) widgets.

No comments:

Useful Information