Li Wu:
Learn to think more, honouring teachers save Thanksgiving. Leaf See Root 321, rivers with one.
Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercise strong body and mind, Prudential advised and the line and cherish.
Javase:8
Os:windows7 x64
Ide:myeclipse
Code
Package com.jizuiku;/** * Provides member variables and member methods * * @author Blog Park-to the most bitter * @version V2017.11.13 */public class Person {//Priva Te static type variable private static int skill = 1;public person () {//TODO auto-generated constructor stub}//access rights: public public int Showskillnum () {return skill;}}
Package com.jizuiku;/** * Call function to see the test class of the effect * * @author Blog Park-to the most bitter * @version V2017.11.13 */public class Demo {public stat IC void Main (string[] args) {System.out.println (new person (). Showskillnum ());}}
Effect
Java is good, worth learning.
Learning resources: Itcast and Itheima Video library. If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.
The public member method in the JavaSE8 base class can return a member variable of the private static type