Professional Documents
Culture Documents
VP Activities - Week 2
VP Activities - Week 2
General Instructions:
In answering and submitting your activities you can follow and select one of the choices below:
1. Use a document editor like Microsoft Word or WPS Office, copy paste the questions, instruction or
format provided.
2. Use a short bond paper and blue ball pen then paste all pictures in a word document by using
Microsoft Word or WPS Office.
Notes:
Task: Given the following code snippets below, provide the output.
Instruction:
Your task now is to create a runnable Java Program that uses the concepts of Java Characters, Strings,
and Numbers.
Task:
Write a Java program to check whether a given string ends with the contents of another string.
Sample Output: