If have login problems remove cookies and clear browser cache.



Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java Lesson #1: Class and Interface - ¿What is polymorphism?
08-27-2021, 08:47 PM
Post: #34
RE: Lesson #1: Class and Interface - ¿What is polymorphism?
Begin with the main object, and think: ¿What will this object do? ¿what information do it need and it will pass? ¿what do i need for this object?
Based on this, write inside it square the functions and variables you would need for that object
But in polymorphism, you don't need only a single object, you'll do more. So you must think after creating your first object: ¿what else do i need? ¿How can i use this main object i've created? ¿what will inherit it?

Based on these you'll draw your inheritance tree


Read the article, you'll have more information and clue how you'll make it

[size=xx-small]Signature[/size]
[URL=https://www.exophase.com/user/JoseskVolpe/][IMG]https://card.exophase.com/2/0/45687.png?1612237163[/IMG][/URL]

[align=justify][size=x-small][b]OwO ¿¿¿What is this??? *wags tail*
Take my beret plz 7w7 ~[/b][/size][/align]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Lesson #1: Class and Interface - ¿What is polymorphism? - JoseskVolpe - 08-27-2021 08:47 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)