MCSL-210 (Set-3)
MCSL-210 (Set-3)
Note: Answer the following question. It carries 20 marks and the viva-voce is of 5
marks.
Note: Answer the following question. It carries 20 marks and the viva-voce is of 5
marks.
2. Write Java program which read/take an string as input and display its length.
Also this program should have methods to reverse the string and to check
whether the input string is a palindrome or not. Use proper access specifiers
for class(es) and methods.
******