0
can anyone share some example of two methods contain integers and boolean expression
Java program code
2 Answers
+ 2
Class MyClass{
//This method contains int
Public int Run(int n){
return n;
}
//This method contains Boolean
Public boolean Walk(int m){
return m;
}
Public static void main(String a[]){
MyClass obj = new MyClass();
System.out.println(obj.Run(7));
System.out.println(obj.Walk(0));
}
}
+ 2
thak u so muchđ