Page 1 of 1

JAVA

Posted: Fri Apr 29, 2022 8:03 am
by answerhappygod
JAVA
Java 1
Java 1 (14.61 KiB) Viewed 21 times
Write a method called countNonSpaces that takes in a string as a parameter and returns an integer that represents the number of non- space (i.e. not'') characters contained in the string. (4 marks)