java

Java code posted
created at 12 May 17:55, updated at 15 May 21:03

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  public  class MyClass{

      /**
       * Nueva instancia de la clase
       */
      public MyClass(){
      } // MyClass

      public void doSomething(){
          int someVariable = -1;
          
          if(someVariable > -1){
              System.out.println("Este es el valor de la variable: " + someVariable);
          } else {
          } // else
      } // doSomething
  }
404 Bytes in 3 ms with coderay