Quick actions

cmd+k|ctrl+k

Navigation

Languages

java-variable-types1

Snippet info

Language

Java

Visibility

public

Author

w3xue

Created

2023-01-06T07:17:13.288328Z

Updated

2023-01-06T07:17:47.564343Z

public class Test{
   public void pupAge(){
      int age = 0;
      age = age + 7;
      System.out.println("小狗的年龄是: " + age);
   }
   
   public static void main(String args[]){
      Test test = new Test();
      test.pupAge();
   }
}
INFO