MESTECH Services
Meydan Shobha Constructions Interview Questions and Answers
Q1. what is view bag?
ViewBag is a dynamic object used to pass data from controller to view in ASP.NET MVC.
ViewBag is a property of the Controller base class in ASP.NET MVC.
It is used to pass data from the controller to the view.
ViewBag is a dynamic object, which means you can add properties to it at runtime.
ViewBag is not strongly typed, so you need to be careful when using it.
Example: ViewBag.Title = "Home Page"; in the controller and @ViewBag.Title in the view.
Q2. what is View result?
View result is the output displayed on the screen after executing a query or operation.
View result is the final output of a process or operation.
It is usually displayed on the screen or in a window.
Examples include search results, database query results, and web page content.
Q3. difference between stored procedure?
Stored procedures are precompiled SQL statements that can be saved and reused.
Stored procedures can improve performance by reducing network traffic and optimizing query execution.
They can also enhance security by allowing access to specific data without granting permissions to the underlying tables.
Stored procedures can be parameterized, allowing for dynamic input and output.
Examples of stored procedures include ones that retrieve data, modify data, or perform calculations.
St...read more
Q4. What is collection? What is collection?
A collection is a group of related objects or data.
Collections are used to store and manipulate groups of data.
They can be of various types such as lists, sets, maps, etc.
Collections provide methods for adding, removing, and accessing elements.
Examples include ArrayList, HashSet, and HashMap.
Q5. Hashmap vs concurrent hashmap.?
Hashmap is not thread-safe while concurrent hashmap is thread-safe.
Hashmap is faster than concurrent hashmap in single-threaded environments.
Concurrent hashmap is useful in multi-threaded environments to avoid race conditions.
Concurrent hashmap uses locks to ensure thread-safety.
Hashmap can be used when thread-safety is not a concern.
Concurrent hashmap is part of java.util.concurrent package.
Hashmap is part of java.util package.
Q6. Difference between corser
There is no such thing as 'corser'.
There is no known term or concept called 'corser'.
It is possible that the interviewer misspoke or meant to ask a different question.
It is important to clarify the question before attempting to answer it.
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month