Net Questions
NET Interview Questions
----------------------------------------
What are OOP concepts?
What is the difference between an abstract class and an interface?
Explain the constructor concept in a class and interface. Can I create a constructor in an
interface?
Explain overloading and overriding concepts in depth.
What are the different types of access specifiers (public, private, protected, internal)?
Can I create an object of an abstract class?
Can I create an object of an interface?
What is the difference between StringBuilder and StringBuffer?
Explain the concept of mutable and immutable strings.
Explain the MVC architecture.
What is the routing concept in [Link]? Explain attribute routing and conventional
routing.
Explain JWT (JSON Web Token).
---------------------------------------
Coding Questions
---------------------------------------
Write the code to check if a string is a palindrome.
Write a program to generate the Fibonacci series.
Write a program to find the frequency of each letter in a given string (e.g., "ENGINEER").
Write a program to find the next palindrome of a given number.
Write a program to find the missing term from a given series (e.g., int[] arr = {1, 2, 3, 4, 5,
7, 8, 9} → Output: 6).
Practice mixed pattern programming (e.g., pyramid patterns, diamond patterns, etc.).
----------------------------------------
SQL Questions
----------------------------------------
What are the different types of SQL commands (DDL, DML, DCL, etc.)?
What is a SQL JOIN? Explain the types of joins and practice writing join queries.
What are the different types of keys in SQL?
What is a composite key?
What is the difference between a primary key and a foreign key?
What is the difference between the HAVING clause and the WHERE clause?
What is indexing in SQL and what are its types?