Sign up now
to enroll in courses, follow best educators, interact with the community and track your progress.
Objects Oriented Programming Part 16: Computer Science & Applications (in Hindi)
220 plays

This lesson describes the important concepts of object oriented programming.

Co-founder of BSI Academy and running YouTube channel. 5 years of teaching experience. Qualified in UGC NET & CSIR in Computer Science as JR

Unacademy user
Sir,If parliament make some law on subject from state list during emergency,and if emergency period is extended for next 6 months,will that law will be valid in the extended time
Sir Please also provide some important questions in MCQ form so we can get idea regarding question paper of UGC net.
9 months ago
Yes definitely
9 months ago
I will update it very soon.
  1. NTA UGC NET Paper -2

  2. Computer Science & Application

  3. About Me Sandeep M.Tech (IT) from IIIT CSIR (Engineering Science) as JRF UGC NET (JRF) - Computer Science & Applications Worked as Software Engineer & Research Scientist

  4. Object - Oriented Programming

  5. Part- 16

  6. unacademy Follow me on the Unacademy Learning App 127.1k Sandeep Singh Educator since May 201 Co-founder of BSI Academy. 5 years of teaching Qualified in UGC NET in Computer Science and its Get updates about new courses Watch all my lessons Application as JRF& lecturer 14.7k 0 34 Follow . Download slides and watch offline All courses Q Sandeep Singh HINDI Programming in C&C (Hindi) Concepts of Objects Oriented Programming: CBSE UGC NET 0(6 ratings Sandeep Singh

  7. Function Overriding Use to describe virtual function redefinition by a derived class. . Useful when we want to have multiple derived classes implementing a base class function.

  8. Function Overriding . Put the common code to all of the derived classes in the base class function. Each of the derived class functions we can add the code specific to each one.

  9. Virtual Function Polymorphism can also be achieved at run time. . Polymorphism can also be achieved at run time This is done using the concept of virtual functions.

  10. Virtual Function Which class' function is to be invoked is decided at run time. And then the corresponding object of that class is created accordingly. This is also called as late binding.

  11. Example (Cont.) int main() base *p; base ob(10); derived d ob(10); derived1 d_ob1 (10); p-80b; p->func(); pe&dob ; p->func(); p-&d_ob1; p-func (); return 0;

  12. Abstract Class When a class contains at least one pure virtual function then it is called an abstract class.

  13. Point to be Remember class Animal{ public: /ipure virtual functions virtual void run() 0; virtual void eat() 0; If we derive a class from Animal base class then derived class will be forced to implement all functions. If we miss even a single pure virtual function to implement in child class then on object creation compiler will throw an error. .

  14. Thank You