Computer Applications
How do user-defined methods differ from library methods?
Java Math Lib Methods
21 Likes
Answer
A user-defined method is a method defined by the user whereas library methods or built-in methods are the methods created by the developers of Java which are available in the form of packages.
Answered By
10 Likes
Related Questions
What is wrong with the following statements? Explain.
i. result = (5/10) * Math.sqrt( a );
ii. result = math.sqrt(b * b - 4 * a * c) / ( 2 * a );
Explain the following Math functions in Java:
Math.abs()
Explain the following Math functions in Java:
Math.sqrt()
Distinguish between Math.ceil() and Math.floor()