Pls. help me to explain what is wrong with this program and identify the number of iterations through the loop.
UBB code brackets added [ April 18, 2003: Message edited by: Barry Gaunt ]
posted 14 years ago
The modifiers on the main method are wrong. It should be public static void main(String args). Why not add a counter, and compile and run your program? What happens when b is 127 and b++ is performed? [ April 18, 2003: Message edited by: Barry Gaunt ]