+ 1
Can someone tell me what's the problem here i realy donnt understand
7 Antworten
+ 1
Should be:
p=Students.new("mark",76)
p.passorno()
end
+ 2
You called passorno with arguments, but in your definition passorno has no arguments. I think you mean to call initialize("mark", 76)
+ 1
yes
+ 1
it work now thank you alote
it's my first program with classes
next time i will try modules i addet user output too
+ 1
Well done :-) You're doing great.
+ 1
IT's my first 10 days ever in coding i feel like i realy create somthing it's like making a baby hhh
+ 1
Definitely lol. It's a very creative endeavour ☺