• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
cs243
 

cs243

on

  • 471 views

 

Statistics

Views

Total Views
471
Views on SlideShare
471
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    cs243 cs243 Presentation Transcript

    • Group 1 Presents
      Object Oriented Programming
      In Java
    • In This Presentation, Watchers will Learn:
      • Difference between Java and C++
      • Java objects Allocation, Subtypes and Subclasses
      • Inheritance, Dynamic Bonding and Encapsulation in Java
    • Support for Object Oriented Programming In Java
      Lets Start!!!
    • 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
      • Boolean
      • Characters
      • Numerics
    • Java Objects Allocation
      Java allocates in memory
    • 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
    • Evaluation
      • Garbage collector is used to deallocate objects in the heap
    • End of Presentation
      Thank you!!