ããã¤ãã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ããã¨ãæ¯åä¼¼ããããªå¦çãè¨è¿°ãããã¨ããããã¨æãã¾ãã ãããªæã¯JAR (JavaARchive) ã¨ããå§ç¸®ãã¡ã¤ã«å½¢å¼ã§ããã±ã¼ã¸ãä¸ã¾ã¨ãã«ãã¦ããã¨ã©ã¤ãã©ãªã¨ãã¦æµç¨ãæããªãã¾ãã ä»åã¯Eclipseã§JARãã¡ã¤ã«ãä½æããæ¹æ³ã¨ãããã¸ã§ã¯ãã«JARãã¡ã¤ã«ãèªã¿è¾¼ãã§å©ç¨ããæ¹æ³ã説æãããã¨æãã¾ãã ããã§ã¯ç¶ãã§èª¬æãã¾ãã JARãã¡ã¤ã«ãä½æãã ã¾ãã¯ãµã³ãã«ã¨ãã¦ç°¡åãªã¯ã©ã¹ãç¨æãã¦ã¿ã¾ãã publicãªè¶³ãç®ãè¡ãã¡ã½ããaddã¨å¼ãç®ãè¡ãã¡ã½ããsubãæã£ãåç´ãªã¯ã©ã¹ãCalculatorã¨ããååã§ä½ã£ã¦ã¿ã¾ããã package sample.library; public class Calculator { static public int add(int a, int b) { return
{{#tags}}- {{label}}
{{/tags}}