Skip to content

Find Longest Word In A Sentence #135

Description

@bhushan-ssh

Create a Java program that finds the longest word from a given sentence.

Example:

Input:

Java programming is very interesting

Output:

Longest word: programming
Length: 11

Requirements:

Take sentence input from user
Split sentence into words
Find the word with maximum length

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions