Computer Applications
Write the return data type of the following functions.
(a) startsWith( )
(b) log( )
Java Library Classes
3 Likes
Answer
(a) boolean
(b) double
Answered By
2 Likes
Related Questions
The following code has some error(s). Identify the errors and write the corrected code.
Int x = 4, y = 8; { y = y + (x++) } while (x <= 10) System.out.println(y);
State the method that determines, if the specified character is an uppercase character.
Define a class to declare an array of size 20 of double datatype, accept the elements into the array and perform the following:
Calculate and print the sum of all the elements.
Calculate and print the highest value of the array.
Write a program to print following patterns.
(i)
1 2 3 4 5 1 2 3 4 1 2 3 1 2 1
(ii)
A B A C B A D C B A E D C B A