Filter interviews by
No, static constructors cannot have multiple arguments.
Static constructors in C# do not take any arguments.
They are used to initialize static data members or perform any necessary setup for the class.
Example: public static MyClass() { // constructor code }
Abstract class is a class that cannot be instantiated and may contain abstract methods.
Cannot be instantiated directly
May contain abstract methods that must be implemented by derived classes
Can have both abstract and non-abstract methods
Unique key is a column or a set of columns that uniquely identifies each row in a table.
A unique key constraint ensures that all values in a column or a set of columns are unique.
It can be used to enforce data integrity and prevent duplicate entries.
Example: Employee ID in an employee table can be a unique key.
Layout page in MVC is a shared template that defines the structure of the final output HTML.
Layout page contains common elements like header, footer, navigation menu, etc.
It allows for consistent design across multiple views.
Can be used to define sections that can be overridden by individual views.
Query to find ID and Name of employee with maximum salary
Use SQL query with MAX() function to find the maximum salary
Join the result with employee table to get ID and Name
Primary key is a unique identifier for each record in a database table.
Primary key ensures each record in a table is unique
It can be a single column or a combination of columns
Primary key constraints prevent duplicate or null values
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access public and protected members of the base class
Example: Class Car inherits from class Vehicle
Polymorphism is the ability of a single function or method to operate on different data types.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance allows a child class to override a method of its parent class, exhibiting polymorphic behavior.
The important pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation hides the internal state of an object and only exposes necessary information.
Abstraction focuses on the essential features of an object while hiding the implementation details.
Polymorphism allows objects to be treated as instances...
Object Oriented Programming is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve problems.
It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation.
Example: In a banking application, you can have classes like Account, Customer, a...
I applied via LinkedIn and was interviewed before Nov 2023. There were 2 interview rounds.
Object Oriented Programming is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve problems.
It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation.
Example: In a banking application, you can have classes like Account, Customer, and Tr...
The important pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation hides the internal state of an object and only exposes necessary information.
Abstraction focuses on the essential features of an object while hiding the implementation details.
Polymorphism allows objects to be treated as instances of t...
Encapsulation is the concept of bundling data and methods that operate on the data within a single unit.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
Data hiding is achieved by making the variables private and providing public methods to access or modify them.
For example, a class 'Car' may have private variables like 'model' and 'year' with public methods like 'getModel()' a...
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access public and protected members of the base class
Example: Class Car inherits from class Vehicle
Polymorphism is the ability of a single function or method to operate on different data types.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance allows a child class to override a method of its parent class, exhibiting polymorphic behavior.
Abstract class is a class that cannot be instantiated and may contain abstract methods.
Cannot be instantiated directly
May contain abstract methods that must be implemented by derived classes
Can have both abstract and non-abstract methods
Abstract class can have implementation details while interface cannot. Class can implement multiple interfaces but only inherit from one abstract class.
Abstract class can have method implementations while interface cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to define a contract for classes to implement, while abstract classes are used to provide a c...
Layout page in MVC is a shared template that defines the structure of the final output HTML.
Layout page contains common elements like header, footer, navigation menu, etc.
It allows for consistent design across multiple views.
Can be used to define sections that can be overridden by individual views.
Primary key is a unique identifier for each record in a database table.
Primary key ensures each record in a table is unique
It can be a single column or a combination of columns
Primary key constraints prevent duplicate or null values
Unique key is a column or a set of columns that uniquely identifies each row in a table.
A unique key constraint ensures that all values in a column or a set of columns are unique.
It can be used to enforce data integrity and prevent duplicate entries.
Example: Employee ID in an employee table can be a unique key.
Yes, a table can have multiple primary keys.
A table can have a composite primary key, which consists of multiple columns.
Each column in the composite primary key contributes to uniquely identifying each row.
Example: CREATE TABLE Employee (emp_id INT, dept_id INT, PRIMARY KEY (emp_id, dept_id));
Query to find ID and Name of employee with maximum salary
Use SQL query with MAX() function to find the maximum salary
Join the result with employee table to get ID and Name
The query selects the ID and Name of the employee with the highest salary.
The query uses a subquery to find the maximum salary in the Employee table.
The outer query then selects the ID and Name of the employee with that maximum salary.
Static constructor gets executed first before default constructor.
Static constructor is called only once, when the class is first accessed or instantiated.
Default constructor is called every time a new instance of the class is created.
Example: If a class has both static and default constructors, the static constructor will be executed before the default constructor.
No, static constructors cannot have multiple arguments.
Static constructors in C# do not take any arguments.
They are used to initialize static data members or perform any necessary setup for the class.
Example: public static MyClass() { // constructor code }
Yes, by using access modifiers like public or internal.
Yes, by changing the access modifier of the class to public or internal.
Private variables can be accessed within the same class but not outside. Use properties or methods to access them in other classes.
Example: class A has a private variable 'x'. In class B, create an instance of class A and access 'x' using a public method or property.
Create a form and do CRUD Operation
Top trending discussions
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
I applied via Campus Placement and was interviewed in Oct 2021. There was 1 interview round.
Software configuration management is the process of tracking and controlling changes made to software throughout its lifecycle.
It involves version control, build management, and release management.
It ensures that changes are made in a controlled and systematic manner.
Examples include Git, SVN, and Jenkins.
It helps to maintain the integrity and quality of the software.
It is essential for collaboration among team members...
Software requirements are the functional and non-functional specifications that a software system must meet.
Software requirements define what the software should do and how it should behave
They include functional requirements (what the software should do) and non-functional requirements (how well it should do it)
Requirements are typically documented in a requirements specification document
They are used to guide the dev...
I appeared for an interview in Nov 2020.
Round duration - 2 hours
Round difficulty - Medium
In the 1st round
Aptitude
Reasoning
English
Automata fix( code debug)
Timing in morning
Environment is good
Interviewer was very cool and interactive
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Round duration - 30 minutes
Round difficulty - Medium
This is interview round
Ques from basic electronics
C language
Create a class named Person
with a string variable 'name'
and an integer variable 'age'
, such that these variables are not accessible outside the class. Implement a me...
Create a class Person with private variables name and age, and methods to set and get their values.
Create a class Person with private variables 'name' and 'age'.
Implement a method setValue to set the variables' values.
Implement a method getValue to print the variables' values.
Ensure the name is a non-empty string and the age is a non-negative integer.
Encapsulate the data and provide a clear interface for setting and ge...
Tip 1 : Do aptitude from indiabix. Go through your basics. At least one language u know. Learn about your branch basics. Know concept of data structure and oops.
Tip 2 : prepare your final project well.
Tip 1 : the skills you know very well mention in resume
Tip 2 : mention project in resume
HTML
Aptitude and resume shortlist and HTML
Some of the top questions asked at the Sdaemon Infotech DOT NET Developer interview -
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
DOT NET Developer
15
salaries
| ₹1.5 L/yr - ₹7.2 L/yr |
Flutter Developer
14
salaries
| ₹2.6 L/yr - ₹4.4 L/yr |
Software Developer
8
salaries
| ₹1.2 L/yr - ₹5.5 L/yr |
Angular Developer
5
salaries
| ₹3.2 L/yr - ₹6 L/yr |
Web Developer
4
salaries
| ₹3 L/yr - ₹3.8 L/yr |
TCS
Accenture
Wipro
Cognizant