full stack .net developer
full stack .net developer Interview Questions and Answers for Freshers
Q1. What is Data abstraction in Oops ?
Data abstraction in OOPs is the concept of hiding the implementation details of a class and only showing the necessary information to the outside world.
Data abstraction allows for creating abstract classes and interfaces to define the structure of a class without revealing the implementation details.
It helps in reducing complexity by only showing the essential features of an object.
By using abstract classes and interfaces, data abstraction enables code reusability and modular...read more
Q2. What is static Method ?
A static method is a method that belongs to the class itself, rather than to instances of the class.
Static methods can be called directly on the class without needing an instance of the class.
They are commonly used for utility methods that do not require access to instance variables.
Static methods cannot access non-static members of the class.
Example: Math.Max() is a static method in the Math class that returns the larger of two numbers.
Q3. What is collection?
A collection is a group of related objects or data items that are stored together.
Collections in .NET include List, Dictionary, Queue, Stack, etc.
Collections allow for easy manipulation and organization of data.
Example: List
names = new List ();
Q4. What is Interface?
An interface in .NET is a reference type that defines a contract for classes to implement certain methods and properties.
Interfaces contain method signatures but no implementation.
Classes can implement multiple interfaces.
Interfaces are used to achieve abstraction and multiple inheritance in C#.
Example: public interface IShape { void Draw(); }
Q5. What is overriding ?
Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its parent class.
Occurs in inheritance when a subclass provides a specific implementation for a method that is already defined in its parent class
The method in the subclass must have the same name, return type, and parameters as the method in the parent class
Allows for polymorphism, where a subclass can be treated as an instance of...read more
full stack .net developer Jobs
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month