Your MCQ
Feed
(current)
Add MCQ
Notifications
0
Categories
Tags
Login
Search
Home
/ Report Question
Q. In Java, what is the purpose of the endsWith() method of a String object?
A. To check if the string ends with a specified character
B. To append a character to the string
C. To check if the string starts with a specified character
D. To check if the string contains a specified substring
Name
Email
Message