C# OOPS INTERVIEW QUESTIONS-ANSWERS WITH EXAMPLES

Hi friends here are some very important OOPS interview questions answers with user friendly format. And the best thing is that all examples...

Hi friends here are some very important OOPS interview questions answers with user friendly format. And the best thing is that all examples represented with screen shots. This will help you to understand oops concept.
We have written this career set after the success of our Asp.net Interview Questions(more then 100 Q-A), So if you are prepare for .net developer interview then don't miss to read our complete set.
If you read it then you will cover 80% interview question so click here for read complete set.
Apart from that we have more then 100 SQL Interview Queries, You can read both above set after read this post. Happy learning

Thanks for visit..

OOPS QUESTIONS ANSWERS:-

Q-1). We have two classes BaseClass and ChildClass, ChildClass inherit base class. If we make the object of child class then which class's constructor called first?

Ans: Base class constructor will be call first.


Q-2). Can we declare an Abstract method in non-abstract class?
Ans: No

Q-3). Can we give the return type of constructor?
Ans: No



Q-4). We know that Base class constructor called first. But if we creating object with parameters, and base class have both constructor default and parameterized, then which constructor of baseclass called first.
Ans: Base class default constructor called first.


Q-5). If we have an abstract method in base class, then we must need to override(or use new keyword) it or not?
Ans: Yes, if we not override it then it give error.



Q-6). Then what you can do that base class parameterized constructor call first.
Ans: We can use "Base" Keyword.







































Q-7) : See the image and understand it.
 

Q-8) : See the image and understand it.
As we stated above that we have written this career set after the success of our Asp.net Interview Questions(more then 100 Q-A), So if you are prepare for .net developer interview then don't miss to read our complete set.
If you read it then you will cover 80% interview question so click here for read complete set.
Apart from that we have more then 100 SQL Interview Queries, You can read both above set after read this post. Happy learning
So don't forgot to read our very popular set
Asp.net Interview Questions(more then 100 Q-A)
100 SQL Interview Queries

Related

OOPS 6026190103452459693

Post a comment

  1. Please check for Q4 and Q5, I guess images are swaped

    ReplyDelete
    Replies
    1. You are wrong Mr.Sandesh IMG are not swapped

      Delete
  2. Question Number 7 is Awesome !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11

    ReplyDelete
  3. Overall very good Explanation

    ReplyDelete
  4. Nice Collection and efforts made by blogger...
    Thanks a lot..

    ReplyDelete
  5. Nice Collection and efforts made

    ReplyDelete
  6. Nice questions. Add more like this. Keep the good work up. Thanks. GBU.

    ReplyDelete
  7. very helpful.Please post more examples

    ReplyDelete
  8. Awesome collection, very helpful...

    ReplyDelete
  9. Please add more information about oops concept over all..

    ReplyDelete
  10. only 8 questions for oops or there are more which have not been covered here so far?

    ReplyDelete
  11. Please add some more question

    ReplyDelete

emo-but-icon

Follow Us

Recent

Comments

Donate

Side Ads

Text Widget

Connect Us

Sql Server 2017 Interview Questions
Sql Server Basic Interview Query Set-1
Sql Server Basic Interview Query Set-2
Sql Server Date-Time Interview Query SET-3
Sql Server Salary Interview Query SET-4
Sql Server Group By Interview Query SET-5
Sql Server Join Interview Query SET-6
Sql Server Tricky Join Interview Query SET-7
Sql Server DDL Interview Query SET-8
Small but very Tricky Sql Server Query SET-9
Very Much Tricky Query (not 4 fresher)SET-10
Sql Server Complex Interview Query SET-11
Sql Server Datatype Interview Questions
Sql Server View Interview Questions
Sql Server Index Interview Questions
TCS Tricky Sql Interview Queries
HCL Sql Interview Queries
Sql Server SP Interview Questions
Sql Server Trigger Interview Questions
Sql Server Temp Table Interview Questions
Sql Server 2016 Interview Questions
Sql Server Performance Tuning Interview Q.
Sql Server Constraints Interview Questions
Sql Server Storage/Size Interview Questions
Sql Server Very Basic Interview Questions
Sql Server Quiz for Fresher
Sql Server Icon Quiz for All
Sql Server 300+ Theoretical Interview Questions
Sql Server Complete Set

ASP.NET AND JQUERY INTERVIEW QUESTION
ASP.NET: Web Config Interview Question
ASP.NET: View State Interview Question
ASP.NET: Session Interview Question
ASP.NET: Session Interview Question 
ASP.NET: Security Interview Question
ASP.NET: Catching Interview Question
C# OOPS Interview Question
MORE Interview Question
JQUERY: Interview Question Set-1
JQUERY: Interview Question Set-2
JAVA-SCRIPT: Interview Question Set-1
JAVA-SCRIPT: Interview Question Set-2
ASP.NET MVC: Interview Question Set-1

POPULAR POSTS
10 MOST DIFFICULT INTERVIEW QUESTIONS
5 BEST INTERVIEW TIPS
YOUR 10 MISTAKE DURING INTERVIEW
2016 TOP 20 GROUP DISCUSSION TOPICS
HOW SQL PERFORMANCE AFFECTED BY DATATYPE
item