How many friends can i have ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

How many friends can i have ?

i have a regular function with a prototype and a definition block. Can i put a friend prototypes of that function inside multiple classes? Is this how you built relationships between objects?

10th Sep 2018, 10:56 AM
FIREmonger
FIREmonger - avatar
5 Answers
+ 11
As many ass possible friends you can have
10th Sep 2018, 5:58 PM
//Fpharbhulourz/>😋😈🤓🇳🇬
//Fpharbhulourz/>😋😈🤓🇳🇬 - avatar
+ 9
It is good to have many friends
11th Sep 2018, 3:16 PM
Bill Zelenko
Bill Zelenko - avatar
+ 4
more the friends more struggle less friends life struggles
13th Sep 2018, 5:24 AM
Charan Leo25
Charan Leo25 - avatar
+ 3
If i understood it correctly, this is called multiple inheritance. Some languages support it, others use interfaces to solve it.
10th Sep 2018, 4:18 PM
Alexander Santos
Alexander Santos - avatar
+ 3
Many as You'd like!! You Chose how much! its all you!
12th Sep 2018, 1:23 AM
Potato Hacker
Potato Hacker - avatar