+ 4
Can we call Constants as Predefined Variables
5 odpowiedzi
+ 14
It's not such a case because constants' value is assigned by the user and it remains fixed once it is assigned and a variable's value is variable, so we can't call constants as predefined variables. Moreover, Java doesn't have built-in support for constants. But it's always good to ask about whatever you aren't sure.
+ 12
It's ok dear
+ 5
Not necessarily.
You can define your own constants as well.
But there are some predefined constants like PI and more in different languages.
+ 2
Thank you
+ 2
Thanks