Skip to content

Commit 95b6284

Browse files
committed
Adding Palindrome Method
1 parent 69d0202 commit 95b6284

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎src/Assignments/EvenOrOdd.java‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
package Assignments;
22

3-
import com.sun.source.tree.AssignmentTree;
3+
//import com.sun.source.tree.AssignmentTree;
44

55
public class EvenOrOdd {
66
public static void main(String[] args) {
77
EvenOrOdd obj = new EvenOrOdd();
88
obj.isOddOrEven();
9+
obj.isPalindrome();
910

1011
}
1112

1213
void isOddOrEven(){
1314
System.out.println("ODD");
1415
}
16+
17+
void isPalindrome(){
18+
System.out.println("Palindrome Number");
19+
}
1520
}

0 commit comments

Comments
 (0)