简体   繁体   中英

Issue while initializing a variable

just started programming and my adventure with Java today. I did some exercises from Project Euler, unfortunately at third I hit a wall. Can someone explain me why variable called "czynnikx" isn't initialized, even though I did that in line 4?

Thanks in advance!

在此处输入图片说明

You have not initialized your variable, only declared it. You need to actually set it to a value somewhere: czynnickx = 323432543455465L; .

You are trying to assign a value to 'czynnik' that has never been initialized.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM