UrbanPro
true

Learn C# .NET from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

OOPs Concepts

Samir Bhogayta
03/01/2018 0 0

Session Objectives:

Discuss the following:

Drawbacks of traditional programming

Need for Object: Oriented approach

Object: Oriented techniques

Discuss Object: Oriented Concepts

  • Objects.
  • Classes.
  • Abstraction.
  • Inheritance.
  • Encapsulation.
  • Polymorphism.

Need for OOP:

  • Languages like C use the traditional programming approach for application development.
  • In this approach, we divide the application into several tasks and write code for all tasks.
  • Therefore, the focus in this approach is on the tasks and not on the objects.
  • The traditional programming approach was not able to handle the increasing demand of software applications

The drawbacks of Traditional Programming approach are:

  • Unmanageable Programs.
  • Code Reusability not Optimum.
  • Problems in Modification of Data.
  • Difficulty in Implementation.

Benefits of Object Oriented Programming approach are:

  • OOP offers better implementation.
  • OOP offers better data security.
  • OOP offers better code reusability.
  • OOP offers more flexibility.
  • OOP offers better manageable programs.

Objects:

  • An object represents an entity in the real world.
  • An object is simply something that is relevant to a particular application.
  • An object is a concept or a thing, with defined boundaries, that is relevant to the problem being dealt with.

Classes:

  • A class is a mould or a template of an object.
  • A class is what defines all the data members and the methods that an object should have.
  • The class defines the characteristics that the object will possess;it could also be referred to as a blueprint of the object.
  • Each object is said to be an instance of the class.
  • A class can contain any of the following as its members Properties / Fields,Methods,Constructors & Destructors
  • Properties: A characteristic required of an object when represented in a class is called a property or a field.
  • Method: A method is similar to a function, routine or a procedure; here it is associated to a class.
  • Constructor / Destructor: These are special types of methods that execute when an object is initialized or destroyed respectively.

Abstraction:

  • Data abstraction enhances security as use of data is restricted to certain functions only.
  • Abstraction is more used where you want only a certain number of functions/methods are accessing data

Inheritance:

  • We can incorporate the functionality of existing classes into any other class just by inheriting the new class from the existing class.
  • The existing class is called the BASE class and the newly created class is called the DERIVED class.

Data Encapsulation:

  • Grouping of data and methods into a single entity is known as Data Encapsulation

Polymorphism:

  • Object: Oriented languages try to make existing code easily modifiable without changing the code much.
  • Polymorphism allows functions to take more than one form.
  • Polymorphism enables the same method to behave differently on different classes.

 

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

.Net is not tough just it requir skill build
Hello friends which one is better java or .net ? Well you need to know both to make a right full argument. My advice would be pick any one get skilled on that and then learn second one. I believe by...

C#.Net Interview Question and Answers
1. What is C#? C# (pronounced "C sharp") is a simple, modern, object-oriented, and type-safe programming language. It will immediately be familiar to C and C++ programmers. C#...

C# - COLLECTIONS
Collection classes are specialized classes for data storage and retrieval. These classes provide support for stacks, queues, lists, and hash tables. Most collection classes implement the same interfaces.Collection...

Understanding Delegate in C# .NET
C# Delegate technique Delegate is one of the fantastic tool & technique in C#.NET. Using deleagte technique the following benefits could be avaialed One can define a method without name (Anonymous...

Pro Developer Program Syllabus
What you will learn in Pro-Developer Program: i. Introduction to Web Technologies. ii. Introduction to .Net - Features of .Net, CTS, CLS, CLR and MSIL. iii. C# & .Net Basics - Data Types,...
X

Looking for C# .NET Classes?

The best tutors for C# .NET Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C# .NET with the Best Tutors

The best Tutors for C# .NET Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more