Welcome! Log In Create A New Profile

Advanced

Constant decleration

Posted by Jackes 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Constant decleration
October 21, 2010 07:23PM
What would be the best way to declare a constant?

static double costOfModule = 756.90;

or

final double costOfModule = 756.90;
Re: Constant decleration
October 23, 2010 11:51AM
This is not the BEST way but the RIGHT way:

final double costOfModule = 756.90;
Sorry, only registered users may post in this forum.

Click here to login