61. AutoCloseable and Flushable are part of which package? A. Autocloseable java.lang; Flushable java.io B. Autocloseable java.io; Flushable java.lang C. Autocloseable and Flushable java.io D. Autocloseable and Flushable java.lang Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
62. It is a good practise to not throw which exception in close() method of autocloseable? A. IOException B. CustomException C. InterruptedException D. CloseException Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
63. Which attribute uniquely identification element? A. ID B. Class C. Name D. Scope Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
64. What is not the advantage of Reflection? A. Examine a class's field and method at runtime B. Construct an object for a class at runtime C. Examine a class's field at compile time D. Examine an object's class at runtime Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
65. What is the alternative of using finally to close resource? A. catch block B. autocloseable interface to be implemented C. try block D. throw Exception Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
66. How to get the class object of associated class using Reflection? A. Class.forName("className") B. Class.name("className") C. className.getClass() D. className.getClassName() Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
67. What does Class.forName("myreflection.Foo").getInstance() return? A. An array of Foo objects B. class object of Foo C. Calls the getInstance() method of Foo class D. Foo object Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
68. Which of the following leads to high network traffic? A. URL rewriting B. Hidden form fields C. SSL sessions D. Cookies Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
69. What is the use of Flushable interface? A. Flushes this stream by writing any buffered output to the underlying stream B. Flushes this stream and starts reading again C. Flushes this connection and closes it D. Flushes this stream and throws FlushException Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
70. Which one of the following is correct for directive in JSP? A. <%@directive%> B. <%!directive%> C. <%directive%> D. <%=directive%> Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board