package com.rocdocs.jvm; public class Math { public static final int initData = 666; public static User user = new User(); public int compute() { //åã¡ã½ããã¯ãã¹ã¿ãã¯ãã¬ã¼ã ã¡ã¢ãªï¼é åï¼ã«å¯¾å¿ãã¾ãã int a = 1; int b = 2; int c = (a + b) * 10; return c; } public static void main(String[] args) { Math math = new Math(); math.compute(); } } Javaã³ãã³ãã使ç¨ãã¦ã³ã¼ããå®è¡ããä¸è¬çãªããã»ã¹ã¯ä¸å³ã®ã¨ããã§ãï¼ loadClassã®ã¯ã©ã¹èªã¿è¾¼ã¿ããã»ã¹ã«ã¯ã次ã®æé ãããã¾ãï¼ ãã¼ã>>æ¤
{{#tags}}- {{label}}
{{/tags}}