#NullPointerException

1 messages · Page 1 of 1 (latest)

rigid locust
#

c1 is null (so is c2)

#

You're not doing anything with the variable in the constructor

timid rover
#

I was going to say that what's wrong is taking a picture of a screen. Because personally I have no idea whether the constructor does something

#

If only computers came with an easy way to copy stuff around, so that code could just be shown there unmodified without the need of a photocopier

timid rover
#

You can't program by guesswork. Learn how constructors work, then do the right thing with them.

cyan wave
#

Whoever own this channel pls close it if unused