Given a list of integers, find out all the numbers starting with 1 using Stream functions?

Поділитися
Вставка
  • Опубліковано 7 жов 2022
  • Given a list of integers, find out all the numbers starting with 1 using Stream functions?
    java 8 stream interview programming questions and ans in hindi
    java 8 stream interview programming questions in hindi
    java 8 coding questions for experienced
    java 8 coding interview questions for 5 years experience
    #java8 #java #javainterviewquestions #java8stream #unusualtechie #hindi

КОМЕНТАРІ • 3

  • @mit1696
    @mit1696 Годину тому

    Because Startwith() takes string parameters and map() is used to process every element from the stream. Here it takes each int value and converts it to string and then its passed to startswith()

  • @rameshkumarom
    @rameshkumarom Рік тому

    in one word thanks

  • @venkataravikumarkuruva3043
    @venkataravikumarkuruva3043 5 місяців тому

    Why map used here?