SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Group 1 Presents Object Oriented Programming In Java
In This Presentation, Watchers will Learn: ,[object Object]
Java objects Allocation, Subtypes and Subclasses
Inheritance, Dynamic Bonding and Encapsulation in Java,[object Object]
Type System Difference Between Java and C++ As of Java, the primative scalar types are not objects
Type System Difference Between Java and C++ As of Java, values of the primative scalar types are not objects
Primitive Scalar Types ,[object Object]
Characters
Numerics,[object Object]
Java Objects Allocation To be Specific, The place in the memory is called Heap
Java Objects Deallocation ToDeallocate Java objects, we use what they call “Garbage Collector”
Java Objects Deallocation Garbage Collectors from the word garbage means that it is no longer needed and can be thrown away.
Garbage Collector It collects unnecessary data from the heap. It determines which objects are no longer needed
Java Subclasses and Subtypes All Subclasses are Subtypes
Java Subclasses and Subtypes It is because, For us, subtypes are classes that has all the state and behavior of another class
Circumstances of Java Method Call Java uses Dynamic Binding as normal approach to bind method calls to method definitions
Dynamic Binding *Are loaded and executed only at the run time
Evaluation Dynamic Binding is executed at runtime
Evaluation Heap is the place in the memory where java objects is stored

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (6)

Java static keyword
Java static keywordJava static keyword
Java static keyword
 
6. static keyword
6. static keyword6. static keyword
6. static keyword
 
Java Beans Unit 4(Part 1)
Java Beans Unit 4(Part 1)Java Beans Unit 4(Part 1)
Java Beans Unit 4(Part 1)
 
11 Using classes and objects
11 Using classes and objects11 Using classes and objects
11 Using classes and objects
 
Oops Concept Java
Oops Concept JavaOops Concept Java
Oops Concept Java
 
javaopps concepts
javaopps conceptsjavaopps concepts
javaopps concepts
 

Andere mochten auch

Español 3 grammar book
Español 3 grammar bookEspañol 3 grammar book
Español 3 grammar bookbenpeters8
 
Classroom management plan
Classroom management planClassroom management plan
Classroom management plantbejarano
 
Lesson Plan - El Teatro
Lesson Plan - El TeatroLesson Plan - El Teatro
Lesson Plan - El TeatroXimena Caniz
 
3 1 Parallel Lines And Planes Filled Out
3 1 Parallel Lines And Planes Filled Out3 1 Parallel Lines And Planes Filled Out
3 1 Parallel Lines And Planes Filled OutMr. Hohman
 
Program politic
Program politicProgram politic
Program politicPop Emil
 
Class plan spanish 4 acc for blog
Class plan spanish 4 acc for blogClass plan spanish 4 acc for blog
Class plan spanish 4 acc for blogdanagiampaolo
 
Class plan spanish 2 ccp for blog
Class plan spanish 2 ccp for blogClass plan spanish 2 ccp for blog
Class plan spanish 2 ccp for blogdanagiampaolo
 
Talking About Your Daily Routine in Spanish
Talking About Your Daily Routine in SpanishTalking About Your Daily Routine in Spanish
Talking About Your Daily Routine in SpanishJason Jolley
 
Mi Rutina Diaria by Katie C
Mi Rutina Diaria by Katie CMi Rutina Diaria by Katie C
Mi Rutina Diaria by Katie Cmariannewal
 
Lesson plan routes of the spanish armada
Lesson plan routes of the spanish armadaLesson plan routes of the spanish armada
Lesson plan routes of the spanish armadaalmusociales
 
Objetos Directos E Indirectos
Objetos Directos E IndirectosObjetos Directos E Indirectos
Objetos Directos E Indirectosguestb8418d
 
Spanish 3 Grammar Book
Spanish 3 Grammar BookSpanish 3 Grammar Book
Spanish 3 Grammar Bookbenpeters8
 
Spanish 3 grammar book
Spanish 3 grammar bookSpanish 3 grammar book
Spanish 3 grammar bookbenpeters8
 

Andere mochten auch (13)

Español 3 grammar book
Español 3 grammar bookEspañol 3 grammar book
Español 3 grammar book
 
Classroom management plan
Classroom management planClassroom management plan
Classroom management plan
 
Lesson Plan - El Teatro
Lesson Plan - El TeatroLesson Plan - El Teatro
Lesson Plan - El Teatro
 
3 1 Parallel Lines And Planes Filled Out
3 1 Parallel Lines And Planes Filled Out3 1 Parallel Lines And Planes Filled Out
3 1 Parallel Lines And Planes Filled Out
 
Program politic
Program politicProgram politic
Program politic
 
Class plan spanish 4 acc for blog
Class plan spanish 4 acc for blogClass plan spanish 4 acc for blog
Class plan spanish 4 acc for blog
 
Class plan spanish 2 ccp for blog
Class plan spanish 2 ccp for blogClass plan spanish 2 ccp for blog
Class plan spanish 2 ccp for blog
 
Talking About Your Daily Routine in Spanish
Talking About Your Daily Routine in SpanishTalking About Your Daily Routine in Spanish
Talking About Your Daily Routine in Spanish
 
Mi Rutina Diaria by Katie C
Mi Rutina Diaria by Katie CMi Rutina Diaria by Katie C
Mi Rutina Diaria by Katie C
 
Lesson plan routes of the spanish armada
Lesson plan routes of the spanish armadaLesson plan routes of the spanish armada
Lesson plan routes of the spanish armada
 
Objetos Directos E Indirectos
Objetos Directos E IndirectosObjetos Directos E Indirectos
Objetos Directos E Indirectos
 
Spanish 3 Grammar Book
Spanish 3 Grammar BookSpanish 3 Grammar Book
Spanish 3 Grammar Book
 
Spanish 3 grammar book
Spanish 3 grammar bookSpanish 3 grammar book
Spanish 3 grammar book
 

Ähnlich wie cs243

Java Basics Presentation
Java Basics PresentationJava Basics Presentation
Java Basics PresentationOmid Sohrabi
 
Java Interview Questions For Freshers
Java Interview Questions For FreshersJava Interview Questions For Freshers
Java Interview Questions For Fresherszynofustechnology
 
Object Oriented Programming All Unit Notes
Object Oriented Programming All Unit NotesObject Oriented Programming All Unit Notes
Object Oriented Programming All Unit NotesBalamuruganV28
 
Intro Ruby Classes Part I
Intro Ruby Classes Part IIntro Ruby Classes Part I
Intro Ruby Classes Part IJuan Leal
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core javaAisha Siddiqui
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PunePankaj kshirsagar
 
Unit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptxUnit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptxDrYogeshDeshmukh1
 
Java interview questions 2
Java interview questions 2Java interview questions 2
Java interview questions 2Sherihan Anver
 
Md02 - Getting Started part-2
Md02 - Getting Started part-2Md02 - Getting Started part-2
Md02 - Getting Started part-2Rakesh Madugula
 
Object-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdfObject-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdfBharath Choudhary
 
OOP in Java Presentation.pptx
OOP in Java Presentation.pptxOOP in Java Presentation.pptx
OOP in Java Presentation.pptxmrxyz19
 

Ähnlich wie cs243 (20)

Java Basics Presentation
Java Basics PresentationJava Basics Presentation
Java Basics Presentation
 
Java Interview Questions For Freshers
Java Interview Questions For FreshersJava Interview Questions For Freshers
Java Interview Questions For Freshers
 
Object Oriented Programming All Unit Notes
Object Oriented Programming All Unit NotesObject Oriented Programming All Unit Notes
Object Oriented Programming All Unit Notes
 
Intro Ruby Classes Part I
Intro Ruby Classes Part IIntro Ruby Classes Part I
Intro Ruby Classes Part I
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core java
 
Java basic
Java basicJava basic
Java basic
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council Pune
 
Java_Interview Qns
Java_Interview QnsJava_Interview Qns
Java_Interview Qns
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Unit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptxUnit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptx
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
 
Java interview questions 2
Java interview questions 2Java interview questions 2
Java interview questions 2
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
Viva file
Viva fileViva file
Viva file
 
Md02 - Getting Started part-2
Md02 - Getting Started part-2Md02 - Getting Started part-2
Md02 - Getting Started part-2
 
Object-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdfObject-Oriented Programming in Java.pdf
Object-Oriented Programming in Java.pdf
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Hp syllabus
Hp syllabusHp syllabus
Hp syllabus
 
OOP in Java Presentation.pptx
OOP in Java Presentation.pptxOOP in Java Presentation.pptx
OOP in Java Presentation.pptx
 

cs243