package com.thisDemo; public class Student { double score; public void prinThis(){ System.out.println(this); } public void printPass(double score){ if (this.score>score){ System.out.println("成功"); }else { System.out.println("失败"); } } }
标签:thisDemo,System,score,println,public,out From: https://www.cnblogs.com/Karl-hut/p/17438039.html