ZURINET
asked on
Initialization of data field
Hi! all !!
I have this code below
private static final int NumberOfstudents = 20;
How do I Initialize the data filed so that NumberOfstudents is equal to 5 and is no longer a constant.
Thanks in Advance
I have this code below
private static final int NumberOfstudents = 20;
How do I Initialize the data filed so that NumberOfstudents is equal to 5 and is no longer a constant.
Thanks in Advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-) Yep
ASKER
it should be something like this ?
private static int NumberOfstudents = 5;