摘要: package testMap; public class Cf { int i; public Cf(){ add(1); } void add(int v){ i = i+v; System.out.println("father add "+i); } } package testMap; p 阅读全文
posted @ 2019-11-17 16:56 sliec 阅读(104) 评论(0) 推荐(0) 编辑
摘要: package com.test.myMy; public class myJava{ public int a = 12; private int inc(){ return a+1; } } C:\Users\mayn\Desktop>javac myJava.java C:\Users\may 阅读全文
posted @ 2019-11-17 16:11 sliec 阅读(128) 评论(0) 推荐(0) 编辑