Тёмный

String program #2- Reverse A String In Java using Java8 Stream API | using Lambda expr by Naren 

Naren Java Help Line
Подписаться 908
Просмотров 15 тыс.
50% 1

#JavaStringReverse #java8 #java8StreamApi
lets discuss how to Reverse A String In Java using Java8 Stream API, using Lambda expression, this is a very imp interview question on core java.
👉 Watch the video till the end and drop your doubts in the comment.
👉 Do like and share the video. Subscribe to the channel.
🙋‍♂️ 🙋‍♀️ Any doubts ?? Please ask in comments
String program #1- Reverse A String In Java | 4 deferent ways:
👉 • String program #1- Rev...
String in java: A Comprehensive Guide Part-1
👉 • String in java: A Comp...
String in java: A Comprehensive Guide Part-2
👉 • String in java: A Comp...
String in java: A Comprehensive Guide Part-3
👉 • StringBuffer in Java: ...
String in java: A Comprehensive Guide Part-4
👉 • StringBuilder in Java ...
StringVsStringBufferVsStringBuilder | Difference Between String,StringBuffer & StringBuilder:
👉 • StringVsStringBufferVs...
👉 • Stream API in java 8 |...
Stream api in Java 8 is very important in Java 8. In this video we are going to learn all basics concept of java 8 Stream API step by step.
I am going to explain each and every important concept of stream with how to perform operations with stream and all important methods and functionality.
- What is Stream API?
- Method in a stream interface
- Difference between stream API and I/O stream
- forEach method in a list interface
#1
- Stream API is the concept introduced in Java 1.8 version.
- The Stream API is used to process collections of objects.
- Stream is a sequence of objects that supports various methods to produce the desired result.
- asList() is a method that gives a list that belongs to a class array.
- Stream is an interface that belongs to java.lang package.
- Stream interface provides a lot of methods like filter(), map(), reduce(), etc.
- A stream is not a data structure instead it takes input from Collections like arrays.
#2
- Normal for loop iterates over the elements one by one whereas enhanced for loop array itself give a value and that value goes into a variable say n.
- We can also print all the values present in an array by using the forEach method().
- forEach method gives one value at a time and we can save that value in a variable say n and print it.
nums.forEach( n- System.out.println(n));
- forEach method is part of a list interface, that gives one value at a time and then you can perform operations on it.
#java8,
#java8StreamApi,
#java8interviewquestions,
#NarenJavaHelpLine
Naren Java Help Line
How to reverse String without using predefined method using stream API
Reverse String in Java using lambada expression
Java program to reverse String without using predefined method
Java Strings Coding Challenges
Coding Challenges on Strings
Interview questions on Strings
Strings Examples in Java
Strings Programs in Java
Java Strings
tringbuilder in java
stringbuilder in java example
stringbuilder in java methods
stringbuilder in java append
stringbuilder and stringbuffer
stringbuilder vs stringbuffer
string methods in java
string in java example
string buffer in java
java string... syntax
types of string in java
string methods in java with examples
string in java w3schools
why string is immutable in java
array in java
Strings in Java;
Strings Introduction in Java by Naren
String, StringBuffer & StringBuilder for JAVA Certification & Interviews;
Strings Tutorial For Beginners | Java;
String is Immutable;
Java String Class, Why String are immutable in Java, Example in English
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Beginners;
String Handling in Java;
#narenJavahelpline
#String
#Java
#java8
#java8interviewquestions
#NarenJavaHelpLine
#JavaStringReverse
#StringReversalJava
#ReverseStringJava
#JavaProgramming
#StringManipulation
#CodeSnippet
#JavaTips
#CodingInJava
#StringHandling
#JavaBeginners
#Algorithm
#StringOperations
#TechHelp
#JavaLearning
#Programming101
#JavaTricks
#CodingCommunity
#JavaTutorial
#StringFunctions
#CodingChallenge
#JavaAlgorithms
#StringManipulation
#JavaDevelopment
#CodePractice
#JavaStrings
#ReverseAlgorithm
#StringReversalMethod
#JavaCoding
#JavaProblems
#CodingSolutions
#JavaCodeExample
#StringReverseLogic
#JavaCodeHelp
#CodeExplained
#JavaStringHandling
#ProgrammingLogic
#StringReverseTrick
#JavaCodeSnippet
#CodeDebugging
#JavaStringMethods
#CodingTips
#AlgorithmExplained
#JavaFundamentals
#StringManipulationTricks
#JavaInterviewPrep
#CodeOptimization
#JavaStrings101
#ReverseStringTechnique
#CodingWisdom
#JavaStringReversal

Опубликовано:

 

25 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@ionadsouza1066
@ionadsouza1066 4 месяца назад
Very good solution
@MohaideenA
@MohaideenA 2 месяца назад
I could simply reverse just by using String string = new StringBuilder(text).reverse().toString();, not involvement of stream. 2nd one is really good.
@sanjugen
@sanjugen 4 месяца назад
Good tutorial bro.
@deepankersharma3150
@deepankersharma3150 2 месяца назад
tagda
@raghavanaliassaravananm1546
@raghavanaliassaravananm1546 3 месяца назад
Good video. The mouse pointer is distracting at times. Request you to keep it simple for everyone’s benefit
@NarenJavaTech
@NarenJavaTech 3 месяца назад
Noted
@prashoo
@prashoo 3 месяца назад
Good video nice explanation, but this video could have been less than 3 mins.
@raghavanaliassaravananm1546
@raghavanaliassaravananm1546 3 месяца назад
Yea but for beginners the slow pace will be really helpful - in my view !
@NarenJavaTech
@NarenJavaTech 3 месяца назад
I will try to short the video duration
@gautamnegi4128
@gautamnegi4128 2 месяца назад
Str.chars() is returning a intStream not charStream are both same?
@NarenJavaTech
@NarenJavaTech 2 месяца назад
In Java 8, this is a new method String.chars() which returns a stream of ints (IntStream) that represent the character codes. Why is String.chars() a stream of ints in Java 8? For more details please go thru: intellipaat.com/community/35542/why-is-string-chars-a-stream-of-ints-in-java-8
Далее
Stream API in Java
26:04
Просмотров 263 тыс.
Eat finger👆 #magic #comedy #funny
00:10
Просмотров 1,7 млн
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Просмотров 7 млн
Hidden Beauties of Java Enums
22:20
Просмотров 10 тыс.
Java 8 STREAMS Tutorial
18:10
Просмотров 726 тыс.
Program to Reverse A String in Java by Deepak
9:01
Просмотров 405 тыс.
Java Streams Tutorial | 2020
19:13
Просмотров 254 тыс.