Challenge for The String Class
Challenge
Complete the Note Class so the String content
is set to a String parameter whenever a Note is created. In addition, complete the method getContent()
so it returns the content of the Note. Also, create a new method called noteLength()
which should return the int length of the Note.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.