We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4d47e6 + 7a69825 commit 7760126Copy full SHA for 7760126
helloworlds/contributing.md
@@ -5,3 +5,21 @@ You can see [json sections](https://github.com/Vedenin/useful-java-links/tree/ma
5
Ideally, if you examples can be build using only maven, and running using only Idea Community or Eclipse.
6
7
Thank you for any your suggestions!
8
+
9
+ import java.lang.*;
10
+public class Calulator {
11
+ double i;
12
+ double x;
13
+ void p(){
14
+ x = Math.sqrt(i);
15
+ }
16
+}
17
+class Demonstration_81{
18
+ public static void main(String[] args){
19
+ Calulator a = new Calulator();
20
+ a.i = 20.0;
21
+ a.p();
22
+ System.out.println("Square root of"+a.i+" is "+a.x);
23
24
25
0 commit comments