Hi Friends, Can we make any method thread safe withour
synchronized keyword?
Answer Posted / faiyaz
To implement SingleThreadModel interface, class can make
thread safe.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
How to get the server information in a servlet?
How to rectify errors in java servlet while compilation?
Explain is servlet mapping?
How to generate the server side programming and the advantages of it over the other languages?
Why is http protocol called as a stateless protocol?
What are the kinds of http requests?
What is api in servlet?
Why servlet is mostly used?
Explain how does JSP handle run-time exceptions?
How is the get () method different from the post() method?
request parameter how to find whether a parameter exists in the request object?
What is the default http method in the servlet?
How do you design microservices?
How to read request headers from servlets?
How to handle exceptions thrown by application with another servlet?