Home / MCQ Bank / Computer
Computer Application Lifecycle And Annotation

In Java web applications, what is the purpose of the `@SessionScoped` annotation?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • To indicate that a bean's scope is limited to a user session

Related Computer Questions

What is the output of the following code: cout << (5 > 2) ? "True" : "False"; Connections to text files can be created with the ______ function. What is the result of len("python") ? Which of these methods is used to obtain the object that generated a WindowEvent? What will be the output of the following C# code? static void Main(string[] args) { int i; i = 0; while (i++ < 5) { Console.WriteLine(i); } Console.WriteLine("\n"); i = 0; while ( ++i < 5) { Console.WriteLine(i); } Console.ReadLine(); }