srinivasboga / Boga_R-D

0 stars 4 forks source link

Create Method to Filter and Print Numeric Values from a List of Strings #30

Closed srinivasboga closed 4 weeks ago

srinivasboga commented 1 month ago

Description Objective: We need to implement a method that iterates through list of strings.

Details: The method should utilize Java Streams to efficiently process the list of strings, ensuring that strings are captured and printed.

Acceptance Criteria:

Example Input: input string = "Fear leads to anger; anger leads to hatred; hatred leads to conflict, conflict leads to suffering.";

Example Output: o/p: Fear : 1 hatred : 2 suffering : 1 leads : 4 to : 4 anger : 2 conflict : 2