0 like 0 dislike
55 views
in Computer Science by (1.0m points)
What are built in functions?

1 Answer

0 like 0 dislike
by (1.0m points)
Java built-in functions" is a reference to the collection of java classes you have in your JRE. There is the Math class for example, which lets you perform various mathematical operations like cosine, sine, square roots, etc. There is also the String class that lets you manipulate strings, the File class, Scanner class, Graphics class, etc. All of the functions located inside of those classes (among thousands of other ones) are built-in functions

examples:

Math.min()

String.replace()

Scanner.nextLine()

Applet.newAudioClip()

Object.toString()

Integer.parseInt()

Double.parseDouble()

DecimalFormat.format()

Also some of your confusion might stem from the fact that java programmers tend to use the word "method" instead of "function", but they are both the same thing.
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

3.2k users

Free Hit Counters
...