class Method{
String name ;
int Num ;
void text() {
System.out.println(" Hello this code is running coding by "+ name+" number " +Num);
}
}
public class MethodClass {
public static void main(String[] args) {
Method Object = new Method();
Object.name = " NAHIAN " ;
Object.Num = 0123 ;
Object.text();
}
}
Result show:
Hello this code is running coding by NAHIAN number 83
But the 83
should be 0123
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…