Important Web Design and Development Short Questions
Chapter: 1
Question 1:
Name some Java technologies used for web and enterprise applications.
Answer:
Java technologies like Servlets, JSP, and JDBC are used for web and enterprise applications.
Chapter: 1
Question 2:
How has Java's performance improved over time?
Answer:
Java's performance has improved with aggressive just-in-time compiler techniques, making it close to C's performance.
Chapter: 1
Question 3:
What makes Java suitable for multi-threaded applications?
Answer:
Java has built-in support for concurrency, allowing clean multi-threaded application development.
Chapter: 1
Question 4:
How does Java maintain class and type information at runtime?
Answer:
Java keeps class and type information at runtime, enabling dynamic loading and inspection of code.
Chapter: 1
Question 5:
What is the role of the Java Security Manager?
Answer:
The Java Security Manager restricts the operations that untrusted code can perform, like accessing the file system.
Chapter: 1
Question 6:
How is Java compiled?
Answer:
Java is compiled using the "javac" compiler, producing .class files from .java source files.
Chapter: 1
Question 7:
Why is Java considered "Programmer Efficient"?
Answer:
Java allows faster development, typically reducing the development time by about 50% compared to C or C++.
Chapter: 1
Question 8:
How does Java's memory system contribute to programmer productivity?
Answer:
Java's memory system with safe pointers and garbage collection helps reduce memory errors, improving productivity.
Chapter: 1
Question 9:
What is Microsoft's stance on Java?
Answer:
Microsoft dislikes Java because it is not tied to any particular operating system, threatening its monopoly.
Chapter: 1
Question 10:
How is C# similar to Java?
Answer:
C# is similar to Java but includes some improvements and questionable features; it is not as portable as Java.