Welcome!
Log In
Create A New Profile
Home
>
2010
>
ICT2613
> Topic
Advanced
Constant decleration
Posted by
Jackes
Announcements
Last Post
SoC Curricula
09/30/2017 01:08PM
Demarcation or scoping of examinations and assessment
02/13/2017 07:59AM
School of Computing Short Learning Programmes
11/24/2014 08:37AM
Unisa contact information
07/28/2011 01:28PM
Forums
Messages
New
Jackes
Constant decleration
October 21, 2010 07:23PM
Registered: 13 years ago
Posts: 5
Rating: 0
What would be the best way to declare a constant?
static double costOfModule = 756.90;
or
final double costOfModule = 756.90;
Reply
Quote
sombu
Re: Constant decleration
October 23, 2010 11:51AM
Registered: 16 years ago
Posts: 29
Rating: 0
This is not the BEST way but the RIGHT way:
final double costOfModule = 756.90;
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login