Hello All, We are going to start new batch from next week. message/call or mail us for more details.

OOPS : Abstraction, Encapsulation, Inheritance, Polymorphism



OOPS Features

* The object oriented programming (OOP) is a programming model 

where Programs are organized around object and data rather than 


action and logic. 



* OOP allow decomposition of a problem into a number of entities called


Object and then builds data and function around these objects.


  • The Program is divided into number of small units called Object. The data and function are build around these objects.
  • The data of the objects can be accessed only by the functions associated with that object.
  • The functions of one object can access the functions of other object.

OOP has the following important features.

 Class:
A class is the core of any modern Object Oriented Programming language such as C#.
In OOP languages it is must to create a class for representing data. 
Class is a blueprint of an object that contains variables for storing data and functions to performing operations on these data. 
Class will not occupy any memory space and hence it is only logical 

representation of data.
To create a class, you simply use the keyword "class" followed by the class name:
class Employee
{

}
Object: 

Objects are the basic run-time entities in an object oriented system.They may represent a person,a place or any item that the program has to handle. 


"Object is a Software bundle of related variable and methods. "

“Object is an instance of a class”



Class will not occupy any memory space. Hence to work with the data represented by the class you must create a variable for the class, which is called as an object. 
When an object is created by using the keyword new, then memory will be allocated for the class in heap memory area, which is called as an instance and its starting address will be stored in the object in stack memory area.
 When an object is created without the keyword new, then memory will not be allocated in heap I.e. instance will not be created and object in the stack contains the value null.
When an object contains null, then it is not possible to access the members of the class using that object.

class Employee
{

}
Syntax to create an object of class Employee:-

Employee objEmp = new Employee();


All the programming languages supporting object oriented Programming will be supporting these three main concepts:
  1. Encapsulation
  2. Inheritance
  3. Polymorphism
Abstraction:
Abstraction is "To represent the essential feature without representing the back ground details."

Abstraction lets you focus on what the object does instead of how it does it.

Abstraction provides you a generalized view of your classes or object by providing relevant information.

Abstraction is the process of hiding the working style of an object, and showing the information of an object in understandable manner.

Real world Example of Abstraction: - 
Suppose you have an object Mobile Phone.

Suppose you have 3 mobile phones as following:-

Nokia 1400 (Features:- Calling, SMS)
Nokia 2700 (Features:- Calling, SMS, FM Radio, MP3, Camera)
Black Berry (Features:-Calling, SMS, FM Radio, MP3, Camera, Video Recording, Reading E-mails)

Abstract information (Necessary and Common Information) for the object "Mobile Phone" is make a call to any number and can send SMS."

so that, for mobile phone object you will have abstract class like following:-

    abstract class MobilePhone
    {
        public void Calling();
        public void SendSMS();
    }

    public class Nokia1400 : MobilePhone
    {

    }

    public class Nokia2700 : MobilePhone
    {
        public void FMRadio();
        public void MP3();
        public void Camera();
    }

    public class BlackBerry : MobilePhone
    {
        public void FMRadio();
        public void MP3();
        public void Camera();
        public void Recording();
        public void ReadAndSendEmails();

    }

Abstraction means putting all the variables and methods in a class which are necessary.
For example: - Abstract class and abstract method.
Abstraction is the common thing.
example: 
If somebody in your collage tell you to fill application form, you will fill your details like name, address, data of birth, which semester, percentage you have got etc.
If some doctor gives you an application to fill the details, you will fill the details like name, address, date of birth, blood group, height and weight.
See in the above example what is the common thing?
Age, name, address so you can create the class which consist of common thing that is called abstract class. 
That class is not complete and it can inherit by other class.

Encapsulation: 
Wrapping up data member and method together into a single unit (i.e. Class) is called Encapsulation.

Encapsulation is like enclosing in a capsule. That is enclosing the related operations and data related to an object into that object.

Encapsulation is like your bag in which you can keep your pen, book etc. It means this is the property of encapsulating members and functions.

    class Bag
    {
        book;
        pen;
        ReadBook();
    }


Encapsulation means hiding the internal details of an object, i.e. how an object does something.

Encapsulation prevents clients from seeing its inside view, where the behaviour of the abstraction is implemented.

Encapsulation is a technique used to protect the information in an object from the other object.

Hide the data for security such as making the variables as private, and expose the property to access the private data which would be public.
So, when you access the property you can validate the data and set it.

Example:

class Demo
{
   private int _mark;

   public int Mark
   {
     get { return _mark; }
     set { if (_mark > 0) _mark = valueelse _mark = 0; }
   }
 }

Real world Example of Encapsulation:-
Let's take example of Mobile Phone and Mobile Phone Manufacturer
Suppose you are a Mobile Phone Manufacturer and you designed and developed a Mobile Phone design(class), now by using machinery you are manufacturing a Mobile Phone(object) for selling, when you sell your Mobile Phone the user only learn how to use the Mobile Phone but not that how this Mobile Phone works.

This means that you are creating the class with function and by making object (capsule) of it you are making availability of the functionality of you class by that object and without the interference in the original class.

Example-2: 
TV operation 
It is encapsulated with cover and we can operate with remote and no need to open TV and change the channel.
Here everything is in private except remote so that anyone can access not to operate and change the things in TV.


Inheritance: 
When a class acquire the property of another class is known as inheritance.
Inheritance is process of object reusability.
For example, A Child acquire property of Parents.

public class ParentClass
    {
        public ParentClass()
        {
            Console.WriteLine("Parent Constructor.");
        }

        public void print()
        {
            Console.WriteLine("I'm a Parent Class.");
        }
    }

    public class ChildClass : ParentClass
    {
        public ChildClass()
        {
            Console.WriteLine("Child Constructor.");
        }

        public static void Main()
        {
            ChildClass child = new ChildClass();

            child.print();
        }
    }



Output:
    Parent Constructor.
    Child Constructor.
    I'm a Parent Class.

Polymorphism: 


Polymorphism means one name many forms.
One function behaves different forms.
In other words, "Many forms of a single object is called Polymorphism."

Real World Example of Polymorphism:
Example-1: 
A Teacher behaves to student.
A Teacher behaves to his/her seniors.
Here teacher is an object but attitude is different in different situation.
Example-2: 
Person behaves SON in house at the same time that person behaves EMPLOYEE in office.
Example-3: 
Your mobile phone, one name but many forms
  • As phone
  • As camera
  • As mp3 player
  • As radio
To Read Polmorphism in Detail click following link:-

Polymorphism in .Net




Difference between Abstraction andEncapsulation :-

Abstraction
Encapsulation
1. Abstraction solves the problem in the design level.

1. Encapsulation solves the problem in the implementation level.

2. Abstraction is used for hiding the unwanted data and giving relevant data.

2. Encapsulation means hiding the code and data into a single unit to protect the data from outside world.


3. Abstraction lets you focus on what the object does instead of how it does it

3. Encapsulation means hiding the internal details or mechanics of how an object does something.

4. Abstraction- Outer layout, used in terms of design.
For Example:-
 Outer Look of a Mobile Phone, like it has a display screen and keypad buttons to dial a number.

4. Encapsulation- Inner layout, used in terms of implementation.
For Example:- Inner Implementation detail of a Mobile Phone, how keypad button and Display Screen are connect with each other using circuits.


The easier way to understand Abstraction and encapsulation is as follows:-
Real World Example:- 

Take an example of Mobile Phone:- 
You have a Mobile Phone, you can dial a number using keypad buttons. Even you don't know how these are working internally. This is called Abstraction. You have the only information that is needed to dial a number. But not its internal working of mobile.

But how the Mobile Phone internally working?, how keypad buttons are connected with internal circuit? is called Encapsulation.

Summary:
"Encapsulation is accomplished by using Class. - Keeping data and methods that accesses that data into a single unit" 
"Abstraction is accomplished by using Interface. - Just giving the abstract information about what it can do without specifying the back ground details" 
"Information/Data hiding is accomplished by using Modifiers - By keeping the instance variables private or protected."


Constructor types with example programs in C#.NET



Definition:
In simple terms, Constructor is a special kind of method with class name as method name and gets executed when its (class) object is created.
This article will give you a detailed explanation on C# constructors and its types.
Now, when we look at the above definition in a broader sense, a constructor is a class method that gets automatically executed whenever class’s object is created.


A special method of the class that will be automatically invoked when an instance of the class is created is called as constructor.

Constructors can be classified into 5 types
  1. Default Constructor
  2. Parameterized Constructor
  3. Copy Constructor
  4. Static Constructor
  5. Private Constructor
Default Constructor : A constructor without any parameters is called as default constructor. Drawback of default constructor is every instance of the class will be initialized to same values and it is not possible to initialize each instance of the class to different values.

Example for Default Constructor


Parameterized Constructor : A constructor with at least one parameter is called as parameterized constructor. Advantage of parameterized constructor is you can initialize each instance of the class to different values.



Example for Parameterized Constructor


using System;


namespace ProgramCall

{
    class Test1
    {
        //Private fields of class
        int A, B;

        //default Constructor

        public Test1()
        {
            A = 10;
            B = 20;
        }

        //Paremetrized Constructor

        public Test1(int X, int Y)
        {
            A = X;
            B = Y;
        }

        //Method to print

        public void Print()
        {
            Console.WriteLine("A  =  {0}\tB  =  {1}", A, B);
        }      
              
    }

    class MainClass

    {
        static void Main()
        {

            Test1 T1 = new Test1();  //Default Constructor is called

            Test1 T2 = new Test1(80, 40); //Parameterized      Constructor is called        
            T1.Print();
            T2.Print();
            Console.Read();       
        }
    }

}


Output


A  =  10        B  =  20

A  =  80        B  =  40

Copy Constructor : A parameterized constructor that contains a parameter of same class type is called as copy constructor. Main purpose of copy constructor is to initialize new instance to the values of an existing instance.


Example for Copy Constructor

using System;

namespace ProgramCall

{
    class Test2
    {
        int A, B;
        public Test2(int X, int Y)
        {
            A = X;
            B = Y;
        }

        //Copy Constructor

        public Test2(Test2 T)
        {
            A = T.A;
            B = T.B;
        }


     

        public void Print()
        {
            Console.WriteLine("A  =  {0}\tB  =  {1}", A, B);
        }  

    }


    class CopyConstructor

    {
        static void Main()
        {        

            Test2 T2 = new Test2(80, 90);

            //Invoking copy constructor
            Test2 T3 = new Test2(T2);          
            T2.Print();
            T3.Print();
            Console.Read();
        }
    }
}

Output


A  =  80        B  =  90

A  =  80        B  =  90

Static Constructor : You can create a constructor as static and when a constructor is created as static, it will be invoked only once for any number of instances of the class and it is during the creation of first instance of the class or the first reference to a static member in the class. Static constructor is used to initialize static fields of the class and to write the code that needs to be executed only once.


Example for Static Constructor

using System;

namespace ProgramCall

{
    class Test3
    {

        public Test3()

        {

            Console.WriteLine("Instance  Constructor");

        }

        static Test3()

        {
            Console.WriteLine("Static  Constructor");
        }
    }
    class StaticConstructor
    {
        static void Main()
        {
            //Static Constructor and instance constructor, both are invoked for first instance.
            Test3 T1 = new Test3();
            //Only instance constructor is invoked.
            Test3 T2 = new Test3();  

            Console.Read();

        }
    }
}

Output


Static  Constructor

Instance  Constructor
Instance  Constructor


Private Constructor : You can also create a constructor as private. When a class contains at least one private constructor, then it is not possible to create an instance for the class. Private constructor is used to restrict the class from being instantiated when it contains every member as static.

Some unique points related to constructors are as follows
  • A class can have any number of constructors.
  • A constructor doesn’t have any return type even void.
  • A static constructor can not be a parameterized constructor.
  • Within a class you can create only one static constructor.
Note
Ø       A static constructor should not be declared with any access modifier.
Ø       A static constructor does not accept parameters
Ø       A static constructor is called automatically.
Ø       There is no way to call a static constructor directly.
Ø       Can’t stop the execution of Static constructor

Points to Remember
Ø       Constructor is nothing but a special method, which initializes the class or its task to initialize the object of it class.
Ø       Its name must be same as the name of class
Ø       This is a special method as constructors do not have return types, not even void
Ø       Constructor cannot return any value because they didn’t have any return type.
Ø       Constructor can’t be get inherited, although a derived class can class the base class constructor.
Ø       A class has atleast one constructor also known as default constructor [a constructor without parameter]
Ø       You have to explicitly write a default constructor while overloading constructors.
Ø       Concept declaring multiple constructors of a class with different sets of parameters known as Constructor overloading.
Ø       A constructor can be called another constructor using this()

568 comments:

  1. It is really very simple and good Article

    ReplyDelete
  2. very nice article, keep up the good work :)

    ReplyDelete
  3. Pankaj Tiwari ji you are relly genius for programmar y r understood
    it is veryyyyyyyyyyyyyyyyyyyy GOOOOOOOOOOOOOOOOOOOD Artical
    i am never saw any programmar on all google for you

    ReplyDelete
  4. tanq very much. very useful this article...

    ReplyDelete
  5. Great Article;
    very useful and
    Thank you very much;

    ReplyDelete
  6. Very nice article, I got something different from this article. Its really knowledgeable.

    ReplyDelete
  7. nice , way of understand to other is impresive

    ReplyDelete
  8. It's simple to learn and very good artical.please explain other concept in same manner of .net such abstract,interface,events,delegates etc...

    ReplyDelete
  9. Thank you guys for your comments. keep writing comments and be regular with my blog.

    ReplyDelete
  10. Hello Sir,

    I am Kamlesh form bangalore and i need .net training. Please let me know about your new batches. Waiting for you response. Thanks

    ReplyDelete
  11. very important article...........nice....thank you

    ReplyDelete
  12. i am realy happy thanks...realy like to your teaching ways and using examples

    ReplyDelete
  13. Superbly explained core meaning of OOPS features in the simplest possible manner.....

    ReplyDelete
  14. nicely explained. thanku :)

    ReplyDelete
  15. Its very informative pankaj..nice article

    ReplyDelete
  16. Very Nice and helpful article. Clears the concepts by simple examples.

    ReplyDelete
  17. Thank You Sir for the article. It was lucid and clear. Cheers!

    ReplyDelete
  18. Thanks for sharing this useful information..Its really very informative.

    Dot Net Training in Chennai

    ReplyDelete
  19. hi,
    I like to say this is very nice and important article for every one. I get good knowledge for OOPS : Abstraction, Encapsulation, Inheritance, Polymorphism topic, thanks to share with us.

    ReplyDelete
  20. I like real word example vry good its not complicated to understand thx I wil write ur example in my exam paper

    ReplyDelete
  21. mr. pankaj.. perfect eamples and very simply expain to it... it's too good

    ReplyDelete
  22. Thank you for this wonderful article! It is extremely insightful. I wish that you’ll carry on posting your wisdom with us.

    ReplyDelete
  23. Thank u friends

    ReplyDelete
  24. very very helpful

    ReplyDelete
  25. Thank you very much for this valuable information. its very simple and real-world examples.

    ReplyDelete
  26. Its really good and simple explanation.Thank you very much....

    ReplyDelete
  27. very usefull dear Pankaj

    ReplyDelete
  28. Thank you for very useful information

    ReplyDelete
  29. nice.:) very helpful...

    ReplyDelete
  30. It is very easy language to understand....

    ReplyDelete
  31. It's very informative and accurate topic :)
    keep putting your great efforts on each and every topics always :)

    ReplyDelete
  32. Really good posting. appreciate. easy to understand in simple way.

    ReplyDelete
  33. literally thanks :)

    ReplyDelete
  34. thanks for posting such value able knowledge

    ReplyDelete
  35. nice really simple with real time example

    ReplyDelete
  36. That is very supper Article

    ReplyDelete
  37. Thank you soo much for this best article, thanks again
    Regards,
    Beenish

    ReplyDelete
  38. thank you very much and real example very awesome..........

    ReplyDelete
  39. very nice article....thank you so much......

    ReplyDelete
  40. Never did i see such an article.good epitome of important topic is covered.great job Mr.pankaj keep it up

    ReplyDelete
  41. Hai Pankaj,Thanks for the post quoted best examples

    ReplyDelete
  42. Very nice and helpful article with the terms explained in detail. Really liked the examples used. Thank you very much.

    ReplyDelete
  43. Link is not there to read Polymorphism in detail. Please provide the same.

    ReplyDelete
  44. really nice example and easy to understand

    ReplyDelete
  45. I have visited and read many other blogs posts they are almost same but this blogs contents according to my point of view is excellent. You have explained very clearly and up-to the point where anyone can understand whether a fresher or an experienced, anyone can easily understand by the way you have explained.
    Very nice work, expects more articles from you

    ReplyDelete
    Replies
    1. Thank You Pramod :) Hey i think you are already in my Facebook friend list. M i rit ???

      Delete
  46. Your article has written with simple words and simple way you have described,through which i could understood easily,this article helps me a lot.thank you sir

    ReplyDelete
    Replies
    1. Thank You Rasmita. Stray connected with my blog. :)

      Delete
  47. Thanks for giving base of .net topics to us sir...

    ReplyDelete
  48. Helped me a lot to do my assignment...Tysm :)

    ReplyDelete
  49. This comment has been removed by the author.

    ReplyDelete
  50. thankyou for solving my confusion with a simple mobile phone example for abstraction and encapsulation...:)

    ReplyDelete
  51. can i call single obj to both Default Constructor
    Parameterized Constructor?

    ReplyDelete
  52. kammmmmaaaaaaaaaaal Yaar... realY Gud wORK.. (Y) (Y)

    ReplyDelete
  53. Very helpful article to understand oops

    ReplyDelete
  54. Very simple and reachable..............!

    ReplyDelete
  55. ITS QUIET SIMPLE PROGRAM TO UNDERSTAND EASILY

    ReplyDelete
  56. really good one

    ReplyDelete
  57. it's cleared all my confusions
    thanq sir

    ReplyDelete
  58. crisp information thank you

    ReplyDelete
  59. Everyone should read this article where actual meaning of OOPS concept is summarized.
    Now i completely understand what is all about.
    Thank you :Pankaj

    ReplyDelete
  60. Really Good Article...Very easy to understand :) Thank you!!

    ReplyDelete
  61. Nice article all definitions are simple and easy to understand thanku

    ReplyDelete
  62. its very nice to say out students

    ReplyDelete
  63. Nice article all definitions are simple and easy to understand thanks....and thanks also to provide your best.....

    ReplyDelete
  64. great article to understand in simple manner...keep going mr.pankaj

    ReplyDelete
  65. Thanks you so much for such helpful explanation.

    ReplyDelete
  66. Thanks you so much for such helpful explanation.

    ReplyDelete
  67. Very helpful article to understand object oriented programming thanks pankaj

    ReplyDelete
  68. C and C++ Course in Delhi- . RKM IT Institute offers affordable C and C++ classes in Delhi, C and C++ training in Delhi NCR, C and C++ live project training in Delhi NCR at affordable price. To get details information about free and timing visit our website Edutech.rkmsolution.com.

    ReplyDelete
  69. just say one word "Awesome" Sir keep it up

    ReplyDelete
  70. Writing technology and computer based articles is a major bonus for tech companies (domestic and abroad), since it is a myth that good engineers are never good talkers.

    ReplyDelete
  71. I am googling a lot cant find like that awesome

    ReplyDelete
  72. C and C++ Live Project Training in Delhi- RKM IT Institute is a skill enhancement coaching center that makes engineers hot property in the booming IT industry. We offer C and C++ Programming Concepts & Languages training by experts.

    ReplyDelete
  73. Awesome blog if our training additional way as an SQL and PL/SQL trained as individual, you will be able to understand other applications more quickly and continue to build your skill set which will assist you in getting hi-tech industry jobs as possible in future courese of action..visit this blog Green Technologies In Chennai

    ReplyDelete
  74. Oracle Training in chennai
    It’s too informative blog and I am getting conglomerations of info’s about Oracle interview questions and answer .
    Thanks for sharing, I would like to see your updates regularly so keep blogging.

    ReplyDelete
  75. Nice article i was really impressed by seeing this article, it was very interesting and it is very useful for me.
    I get a lot of great information from this blog. Thank you for your sharing this informative blog.
    SAS Training in Chennai

    ReplyDelete
  76. This informative post helped me a lot in training my students. Thanks so much.
    HTML5 Training in Velachery | HTML5 Training in Velachery

    ReplyDelete
  77. Hybernet is a framework Tool. If you are interested in hybernet training, our real time working.
    Hibernate Training in Chennai.
    hibernate-training-institute-center-in-chennai

    ReplyDelete
  78. Thanks for sharing This valuable information.we provide you with Search engine optimization Training in Chennai which offers every one of the necessary information you should know about Search Engine Optimization. the facts, how it operates, what is Search engine optimization daily life cycle, along with the other relevant subjects
    Regards, Professional Dot Net Training Academy in Chennai

    ReplyDelete
  79. Nice post. We appreciate that. Given that ASP.NET is interested in many years, there are numerous developers that are expert at utilizing it to develop the best of apps. Establishing an application in Dot net training in Chennai with the assistance of this systems fairly cost-effective. The easy energy for this will allow the creators to perform the granted occupation inside the stipulated time period. And this also permits supply of quality products and services in dot net platform.Take a look to my blog Best Dot Net Academy in Chennai

    ReplyDelete
  80. In object-oriented software, complexity is managed by using abstraction. Abstraction is a process that involves identifying the critical behavior of an object and eliminating irrelevant and complex denials. Abstraction is a process of identifying the relevant qualities and behaviors an object should possess.
    Example- A Laptop consists of many things such as processor, motherboard, RAM, keyboard, LCD screen, wireless antenna, web camera, USB ports, battery, speakers etc. To use it, you don't need to know how internally LCD screens, keyboard, web camera, battery, wireless antenna, speaker’s works. You just need to know how to operate the laptop by switching it on.

    To know more please visit---------- Abstraction in c# with example

    ReplyDelete
  81. Thanks.....its really, useful knowledge provided here....both in example wise as well as concept wise..thanks once again...

    ReplyDelete

  82. Latest Govt Bank Jobs Recruitment Notification 2016

    Very efficiently written post. It will be valuable to anybody who employees it, including myself. Keep up the good work ............................

    ReplyDelete
  83. GSSSB Assistant Technician Pharmacist Recruitment 2015

    Really your blog is very interesting it contains great and unique information It's just amazing Thanks very much. .

    ReplyDelete
  84. please give some more easy examples related to dotnet programs

    ReplyDelete
  85. It is really very helpful for us and I have gathered some important information from this blog.
    peoplesoft finance Training in Chennai

    ReplyDelete
  86. really awesome article ...... i googled a lot for oops concept but this article makes everyone understandable in easy manner.............thank you sooooo much ....

    ReplyDelete
  87. Excellent blog content. Thanks for sharing this post. ASP.Net Training in Chennai

    ReplyDelete
  88. nice way to explain topics , its easy to understand .

    ReplyDelete
  89. Good explanation with example, very useful..

    Great work

    ReplyDelete
  90. it's realy goods example but i am not able to understand to implement abstraction.why abstract class?

    ReplyDelete
  91. Thanks for sharing this post.Its very easy for me.
    java training course

    ReplyDelete
  92. Haryana HSSC Steno Typist Recruitment 2016


    Posts your shared useful information and meaningful life, I'm glad to be reading this article and hope to soon learn the next article. thank you..............

    ReplyDelete
  93. Thank u so much. This article help me to understand the concept of abstraction and encapsulation

    ReplyDelete
  94. So simple and amazing article (Y)

    ReplyDelete
  95. Really so simple and easy to understand... Thanku so much for sch a good article

    ReplyDelete
  96. This is a very good example and useful for as and to get more knowledge for this explaination and use for developed your business dotnetonlinetraining

    ReplyDelete
  97. Abstraction in Java
    Real life Example of Abstraction

    Abstraction shows only important things to the user and hides the internal details. Real life example of abstraction is; we know how to ride the bike but we don't know internal function of bike.

    ReplyDelete
  98. This is the best explanation I have ever encountered, really made me understand OOP! Thank you very much! very simple yet effective!

    ReplyDelete
  99. Really it is very useful. thank you

    ReplyDelete
  100. can anyone help me with one CPP program,
    that includes all concepts of oops
    (abstraction, polymorphism,inheritance and encapsulation)

    ReplyDelete
  101. You mix the Abstraction and Abstract class...?

    ReplyDelete
  102. It was really really impressive and awesome article declaration i appreciate it and thank u

    ReplyDelete
  103. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
    Informatica Training In Chennai
    Hadoop Training In Chennai
    Oracle Training In Chennai
    SAS Training In Chennai

    ReplyDelete
  104. Really good presentation for understanding clearly.Thanks a lot Sir.

    ReplyDelete
  105. Thanks for sharing this post. https://goo.gl/X1CxaM

    ReplyDelete
  106. this is my first feedback and you are the first person to get feedback from me.excellent word not enough for this article well done Mr. Pankaj Tiwari

    ReplyDelete
  107. never have read such a nice article...thanks..worth reading

    ReplyDelete
  108. This article very nice ..they generalized all key points with example like abstraction concept.

    ReplyDelete
  109. Thanks It's very informative post about oops concepts

    Hadoop training in bangalore

    ReplyDelete
  110. Thanks for sharing this information about oops concepts it is very easy to understand

    Hadoop training in bangalore

    ReplyDelete
  111. Very easy and simple to understand....Thank you very much

    ReplyDelete
  112. I tried searching many websites and I was not able to find such a good/simple article explaining basics of .net. It helps to understand things very easly.

    ReplyDelete
  113. Your examples will tell how superior you are in OOPs concepts... Very good article bro... Thanks...

    ReplyDelete
  114. Thanks it's really very useful article and simple

    ReplyDelete
  115. thanks it's very useful article

    ReplyDelete
  116. Nice Article.... Thank u so much

    ReplyDelete


  117. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.

    Hadoop Certification in Chennai

    ReplyDelete
  118. Thanks for sharing these information. It’s a very nice topic. We IT hub Online Training are good in giving the datastage Training

    ReplyDelete
  119. Great blog created by you. I read your blog, its best and useful information. You have done a good work. Thanks...
    Happy blogging and keep posting Certification Courses Online India .

    ReplyDelete
  120. Hi, thanks for sharing ,But i have one question,
    once you was implementing abstraction using abstract class by showing only the relevant data in mobile-phone example.That was understandable. But then in another example you are saying , you are using abstraction to hide the un-relevant data and then u are implementing abstraction using interface.Please clear it.First one was good and understanding.Please brief..

    ReplyDelete
  121. Very useful article. The concepts are explained in very simple language and the best thing is each concept is explained with real world examples and with code. very easy to understand. Thanks for this article.

    ReplyDelete
  122. This is a valuable information has been provided..get more such information only on nettechindia.com

    ReplyDelete
  123. thank you very much
    good article with a lot of simplifications and clarifications.

    ReplyDelete
  124. thank you very much
    good article with a lot of simplifications and clarifications.

    ReplyDelete
  125. thank you very much
    good article with a lot of simplifications and clarifications.

    ReplyDelete


  126. I wondered keep share this sites .if anyone wants realtime training Greens technolog chennai in visit this blog.


    Cassandra Training in Chennai

    ReplyDelete


  127. I wondered keep share this sites .if anyone wants realtime training Greens technolog chennai in visit this blog.
    Cassandra Training in Chennai

    ReplyDelete
  128. Good way of explanation.... Thanks a lot..!!

    ReplyDelete
  129. Thanks Nice work!!! it was useful informative for Dot Net Training

    ReplyDelete
  130. Thanks Nice work!!! it was useful informative for Dot Net Training

    ReplyDelete
  131. Thanks Nice work!!! it was useful informative for Dot Net Training

    ReplyDelete
  132. nice...thanksss...MR.PANKAJ TIWARI

    ReplyDelete
  133. thanks a lot sir, most simplified explaination...

    ReplyDelete
  134. Great about encapsulation thanku for sharing..

    Informatica training, in the recent times has acquired a wide scope of popularity amongst the youngsters at the forefront of their career.
    Informatica online training in hyderabad



    ReplyDelete
  135. Yes, you are absolutely correct...And it is very informative and very clear and easy to understand.. seo training in chennai

    BUISINESS LISTING

    ReplyDelete
  136. Keep on posting these types of articles. I like your blog design as well. Cheers!!!oracle training in noida

    ReplyDelete
  137. My Arcus offer java training with 100% placement. Our java training course that includes fundamentals and advance java training program with high priority jobs. java j2ee training with placement having more exposure in most of the industry nowadays in depth manner of java

    java training in chennai

    ReplyDelete
  138. awesome explanation nice work expecting more articles from you

    ReplyDelete
  139. Briltus Technologies provide the best real time practical oriented
    Pega Training
    Our classes help your group to rapidly procure the ability they require.

    Visit: http://www.briltus.com/pega-training/

    ReplyDelete

  140. Great Blog Thanks.

    Here You Can Find Your First Round Interview question For Job .


    OOPs Interview Questions

    JSP Interview Questions

    Struts Interview Questions

    ReplyDelete

  141. Great Blog Thanks.

    Here You Can Find Your First Round Interview question For Job .


    OOPs Interview Questions

    JSP Interview Questions

    Struts Interview Questions

    ReplyDelete