You are on page 1of 5

2/8/22, 1:12 AM Module 1 Character, Number and Strings

Module 1 Character, Number and Strings


Total points 10/10

Email *

michaeljohnserdan@gmail.com

Lastname, Firstname MI *

Serdan, Michael John B.

Course/Year/Section *

CEIT-37-401A

The methods return true if the argument is not null and is an object of 1/1
the same type and with the same numeric value. *

int compareTo(Float anotherFloat)

int compareTo(Short anotherShort)

boolean equals(Object obj)

short shortValue()

https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 1/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings

What is the output of the following syntax: System.out.format("%,8d%n", 1/1


n); *

00461012

461012

+461012

461,012

What is the output of the following syntax: public class BasicMathDemo { 1/1
public static void main(String[] args) { double a = -191.635; double b =
43.74; int c = 16, d = 45;System.out.printf("The min of of %d " + "and %d is
%d%n", c, d, Math.min(c, d)); *

The floor of 43.74 is 43

The min of 16 and 45 is 16

The max of 16 and 45 is 45

The rint of 43.74 is 44

It is a converter that displays date & time conversion—locale-specific full 1/1


name of month. *

td

ty

tB

te

https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 2/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings

A date & time conversion—hour in 12-hour clock. * 1/1

tl

td

te

ty

A date & time conversion—minutes in 2 digits, with leading zeroes as 1/1


necessary. *

ty

tp

tM

tm

It is a Math class constant which is the ratio of the circumference of a 1/1


circle to its diameter. *

Math.Exp

Math.PI

Math.Dm

Math.E

https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 3/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings

An escape sequence that tells the compiler to insert a tab in the text at 1/1
this point. *

\t

\b

\n

\r

An escape sequence that tells the compiler to insert a double quote 1/1
character in the text at this point. *

\\

\'

\[

\"

An escape sequence that tells the compiler to insert a newline in the text 1/1
at this point. *

\-

\nl

\n

\l

This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 4/5
2/8/22, 1:12 AM Module 1 Character, Number and Strings

 Forms

https://docs.google.com/forms/d/e/1FAIpQLSegWOHq6cmqQb2iNHetcD7CS6-qfjkbHzGbH8Q5G2VZ4BqpXQ/viewscore?viewscore=AE0zAgAfz32vX… 5/5

You might also like