Tuesday, April 05, 2016

4/5/2016

C#.Net interview questions Part1

1) Basic OOP Concepts (OOP, Object, Class)
   a) What is OOP ?
   b) What is Object ?
   c) What is Class ?

2) What are properties of object oriented programming ? Or
    What are 4 main Pillars / Components /Concepts of object oriented programming ?

    a) What is Abstraction?

    b) What is encapsulation? Abstraction Vs Encapsulation ?

    c) What is Polymorphism? Types of Polymorphism ? Static Vs Dynamic Polymorphism ?
       Static Polymorphism ( Funcation Overloading.)     
       Dynamic Polymorphism ( Funcation Overriding.)

    d) What is Inheritance? What are the types of Inheritance?
       Implementation Inheritance
       Interface Inheritance

3) Interview questions related to Inheritance in C#.Net
    a) What is Inheritance Hierarchy? 
    b) Do .Net supports multiple inheritance? 
    c) Why don’t we have multiple inheritance in .Net? 
    d) How do you prevent a class from inherited? 
    e) If we inherit the class does the private variables also inherited?

4)  Interview questions related to Abstract class and interface
  
   e) Advantage of Interface over abstract class ?
    => A class can inherit multiple interfaces but can inherit only one class.

   f)  When to use abstract class and interface ? 
   g) What are Abstract properties ? 
   h) What is Explicit and default interface ? 
   i) Do Interface have accessibility modifier ? Ans: No
   j) Examples on Interface.

http://dotnetpeoples.blogspot.in/2016/04/cnet-interview-questions-part1.html

2 comments:

couponrax said...

Thanks for sharing this superb article Couponrax

Emil Thomos said...

We were hosting a special event at the school which was a competition among 3 schools and it involved the parents and their children. For inviting them, we had to design special invitation cards that would attract them. So, we contacted the designers at this site and gave out answers to their questions and told them what we wanted. The designers delivered marvelously and made a fun sporty design showing the spirit of the competition!

for logo design