4. Get user to enter a phrase and print out how long the phrase is(Hint: use String method). Expected output:
----jGRASP exec: java LabActivity10_4
Enter a phrase
I am Beyonce always
Your phrase length is 19
----jGRASP: operation complete
5. Create a void method called greet that prints "Hello". Call the greet method in your main method. (Remember, void is just a substitute for the datatype of your method when you don't return a value)
----jGRASP exec: java LabActivity10_5
Hello
----jGRASP: operation complete.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here