Home / MCQ Bank / Computer
Computer Application Lifecycle And Annotation

In a Java web application, what is the role of the `@MultipartConfig` annotation?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • To enable support for file uploads in a servlet

Related Computer Questions

In Java Networking, what is the purpose of the `InetAddress` class? Bubble sort is also known as ______ What will be the output of the following C++ code? #include <stdexcept> #include <limits> #include <iostream> using namespace std; void MyFunc(char c) { if (c < numeric_limits<char>::max()) return invalid_argument; } int main() { try { MyFunc(256); } catch(invalid_argument& e) { cerr << e.what() << endl; return -1; } return 0; } What is the output of the following code: struct Student { int roll; }; Student s1; s1.roll = 101; cout << s1.roll; in C++? Which of the following is not a valid file mode in C++?