Oops in c


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Oops in c

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. OOPs concept in java Shanu k k shanukk89@gmail.com www.facebook.com/shanunn i twitter.com/shanu in.linkedin.com/in/shanu k k 9656153432
  3. 3. Typing Speed Week Target Achieved 1 25 25 2 27 30 3
  4. 4. Jobs Applied # Company Designation 1 Zip recruiter Software engineer 2 3 Applied Date Current Status
  5. 5. Object oriented program Oop is an approach that provide modularizing programs by creating partitioned memory area for both data and functions that can be used as template for creating copies of such modules on demand.
  6. 6. • Object oriented paradigm data mm
  7. 7. • Emphasis on data rather than procedure • Programs are divided into what are called Object • Data is hidden and cannot accessed by external function • Object communicate each other through method • New data and method can be added whenever necessary
  8. 8. Object • Basic runtime entities • State and behavior of the basic program Components Eg:person,place….. • Object condain data and code to manipulate data • Compination of data and method make up an object
  9. 9. Class • User defined data type • Once a class defined we create variables,these Variable are termed as instances of classes which are actual object • Collection of object of similar type
  10. 10. Method A class without method has no life,object created by such class cannot respond to any messages • Method that are necessary for manipulating data contained in class.
  11. 11. Data abstraction Wrapping up of data and method into a single unit Data Encapsulation Representing essential feature without including details or explanation
  12. 12. • Inheritance: Object of one class acquire the property of another class Reusability We can additional features to an existing class without modifying it Deriving new class from existing class
  13. 13. polymorphism • Ability to take more than on form
  14. 14. Class sum{ Void add (int a,int b) { System.out.println(“+(a+b)); } Public static void main( String args[]) { sum obj=new sum; Obj.sum(10,5) }
  15. 15. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  16. 16. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550