[ad_1]
You are calling a method that does not exist. It is println not prntln.
I highly recommend using the built in code recommendation in your IDE or read the javadoc beforehand so you know the correct names and arguments.
[ad_2]
solved What is wrong with my code? I am a beginner and I keep getting this cannot find symbol error [duplicate]