NPTEL Data Structure and Algorithms using Week 12 Java Assignment Answers 2024
1.

Answer :- For Answers Click Here
2.


Answer :- For Answers Click Here
3.

Answer :-
4.

Answer :-
5. Which of the following function definitions is/are Correct?
a. String trimO Returns the copy of the String, by removing whitespaces at both ends. It does not affect whitespaces in the middle.
b. String toUpperCase Converts all the characters in the String to upper case.
c. String replace(char old, char new) Returns new string by replacing all occurrences of old with new.
d. String concat(String s) Concatenates specified string to the front of this string
Answer :-
6.


Answer :- For Answers Click Here
7.


Answer :-
8.


Answer :-
9.


Answer :-
10.

Answer :- For Answers Click Here