4. Find the output.
System.out.println("Excellent".substring(4,7));
System.out.println("Java".indexOf('a', 2));
Answers
Answered by
1
Answer:
Java was conceived by James Gosling and his team at Sun Microsystems in 1991.
Java is directly related to both C and C++. Java inherits its syntax from C. Its object model is adapted from C++.
Similar questions