Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Java oop

Object oriented programming

is a programming model based around objects and data

To represent a

Tree:

  • Attributes: height, trunk diameter
  • Behavior: ability to grow

Object oriented programming Pillars

  • Abstraction

  • Inheritance

  • Encapsulation

  • Polymorphism

    we can model physical objects in code with

    classes

    Class is a blueprint containing a set of attributes and behaviors that define an item

    Tree class

    Attributes:

    • Height

    • Trunk diameter

    • Tree type

      behavior

      • Growing

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors