Leave a Reply 3

Your email address will not be published. Required fields are marked *


Kevin

Kevin

D because you can’t use break in if-else statements. It can only be used in loops and switch

Also sum is an instance variable. Static methods and variables can’t access the instance members of a class.