Which of the following lines of code can be used to determine if the content of a String variable s starts with "java"? Choose the correct answer:
A. boolean result = s.beginsWith("java");
B. boolean result = s.hasPrefix("java");
C. boolean result = s.startsWith("java");
D. boolean result = s.prefixEquals("java");