Podcast
Questions and Answers
What does the FileWriterfw = new FileWriter (File Descriptor ); line of code do?
What does the FileWriterfw = new FileWriter (File Descriptor ); line of code do?
- Creates a FileWriter object with a file descriptor (correct)
- Creates a FileReader object
- Returns the content of a file descriptor
- Creates a FileWriter object without specifying a file descriptor
Which environment variable provides information about the root directory of TOMCAT?
Which environment variable provides information about the root directory of TOMCAT?
- CATALINA_HOME (correct)
- Java HOME
- CLASSPATH
- PATH
What is the ID that is transmitted between the client and the server in Java applications?
What is the ID that is transmitted between the client and the server in Java applications?
- Network ID
- Server ID
- Session ID (correct)
- None of these
How is an event represented in Java?
How is an event represented in Java?
In Java, what does 'getId()' method return?
In Java, what does 'getId()' method return?
Which of the following is NOT true about JavaBean?
Which of the following is NOT true about JavaBean?
What type of data is kept at the application server?
What type of data is kept at the application server?
Which tag is considered the Special JSP tag?
Which tag is considered the Special JSP tag?
Which method provides different ServletContext objects to different Servlets during different sessions?
Which method provides different ServletContext objects to different Servlets during different sessions?
What tag is used to define initialization parameters value of a servlet?
What tag is used to define initialization parameters value of a servlet?
In Session Tracking, states are maintained by the mutual cooperation of client and ___________.
In Session Tracking, states are maintained by the mutual cooperation of client and ___________.
Which method returns HttpSession object in Java?
Which method returns HttpSession object in Java?