+ 3

# How to put â in java

I need â in my code

9 Answers

+ 15

Math.sqrt(9); //outputs 3đ

+ 7

\u221A is the Unicode character for 'sqrt' symbol. Use it in your Java program. And, I don't think it works in code playground. So, try it in your computer.

+ 5

sqrt();

+ 5

sadly does not work on sololearn

+ 5

you are asking about the character 'â' right?

+ 3

I did it in this piece of code
https://code.sololearn.com/c08GPV343ad7/?ref=app

+ 1

Sqrt does not work

+ 1

thank you all

+ 1

Sqrt() is a static method of the Math class (Java.lang.Math.sqrt), so u must implement it this way: Math.sqrt(number)