Computer Science, asked by gaikwadarahat, 9 months ago

Name any two Pre-Defined Methods In Java

Answers

Answered by anindyaadhikari13
20

<hr/>

Java has a library of classes and methods.

Two predefined methods in Java are.

  1. compareTo() and
  2. charAt

There are so many predefined methods. I have given you two examples.

<hr/>

Similar questions