www.ypnh.net > JAVAΪʲôҪʹ÷װ,װЩ?

JAVAΪʲôҪʹ÷װ,װЩ?

javaķװԾDz޸һijԱ ֵֻܰݣÿͶӦķװǰôݵġ ˵javaеĻڶջϴģеĶͶڶϴģڶջϴ ...

װJavaԵʾģΪԵ֮һǷװ ΪʲôҪװΪеʵ嶼ԶΪλģԺʵӳ䵽УÿԼԺ...

public Person{ private String name ; public getName{ return this.name; } } Ļиperson,ѯgetName(),ֱȥ˼ҵ˽򣬿˼˽˽...

װǰѹ̺ݰΧݵķֻͨѶĽӿڡʼ‍ʵԱһϵȫΡװĶЩͨһܱĽӿڷ󡣷װһϢؼjavaͨ...

˵˼Ǿ˵ͨ׼򵥵: װĺôһڰȫJAVAһԣһн˽лȻgettersetterṩõõķͺñԶ,ǮҪԣҪݣֱȥÿ...

JavaҪ8ֻͽзװԭ 1Ϊװ;һ󣬿ӵԺͷЩԺͷǾͿݣIntegerparseInt(String s)԰ַתint͵ȡ 2javaһ...

javaνװͨಢҸԺͷϷʿıԡ װǶһ࣬Ȼ(Ա)ͷϷʿδ(publicprivate protectedĬϰȨ)ʹø...

ܲԣиõĻشҲظ 1.ΪʲôҪ÷װװ򵥵˵ηĸԣֻҪ֪IJ;Ϳʹ÷˵ģ֮ԣģ֮ϵ֮໥ϵͳĽ׳ԣDzױ...

javaνװͨಢҸԺͷϷʿıԡ װǶһ࣬Ȼ(Ա)ͷϷʿδ(publicprivate protectedĬϰȨ)ʹø...

վͼ

All rights reserved Powered by www.ypnh.net

copyright ©right 2010-2021
www.ypnh.net磬ַϵͷzhit325@qq.com