in Education by
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 This question was posed to me in an online quiz. This key question is from Reflection API topic in division Session Management, JSP & API of Java Select the correct answer from above options

Related questions

0 votes
    What does Class.forName( myreflection.Foo ).getInstance() return? (a) An array of Foo objects (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Application is instance of which class? (a) javax.servlet.Application (b) javax.servlet.HttpContext (c) javax.servlet. ... API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    _jspService() method of HttpJspPage class should not be overridden. (a) True (b) False This question was posed to me ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
     out is implicit object of which class? (a) javax.servlet.jsp.PrintWriter (b) javax.servlet.jsp.SessionWriter (c) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    What is used to get class name in reflection? (a) getClass().getName() (b) getClass().getFields() (c) getClass( ... , JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    How to get the class object of associated class using Reflection? (a) Class.forName( className ) (b) Class.name( ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Does close() implicitly flush() the stream. (a) True (b) False This question was posed to me during an interview. ... JSP & API of Java Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    Which of the following is used for session migration? (a) Persisting the session in database (b) URL rewriting (c) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the below is not a session tracking method? (a) URL rewriting (b) History (c) Cookies (d) SSL sessions ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is stored at client side? (a) URL rewriting (b) Hidden form fields (c) SSL sessions (d) ... , JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following leads to high network traffic? (a) URL rewriting (b) Hidden form fields (c) SSL sessions ( ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is not true about session? (a) All users connect to the same session (b) All users have ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    SessionIDs are stored in cookies. (a) True (b) False I got this question in semester exam. Origin of the question ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    What is the maximum size of cookie? (a) 4 KB (b) 4 MB (c) 4 bytes (d) 40 KB This question was posed ... Management, JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    How can we invalidate a session? (a) session.discontinue() (b) session.invalidate() (c) session.disconnect() (d) ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
...