What is string and how to represent string in java || java string api || Episode - 1

Publié le: 23 octobre 2017
sur la chaîne: Selenium Express
19,437
285

This tutorial covers string in java.As we go ahead with this video we will learn what is string in java and how to declare a string in java .This is a very basic string in java interview question
and asked often as well.

So there are two different ways by what we can represent a string in java and they are :

creating a string by using new keyword
creating a string with literal (known as string literals in java)

( by using above two ways we can create a string object in java )

So, string class in java present inside java lang package and comes with some special feature like immutability.In my coming tutorials, we will learn in depth that
why string is immutable in java.

string definition in java can be represented by the statement below :

A sequence of characters or a group of characters is known as string.

We can represent sequence of characters or group of characters by using 4 different ways in java and they are

1.String(java string api)
2.StringBuffer
3.StringBuilder
4.Array

Once we cover this basic stuff then in next video we are going to learn string constant pool in java , in depth and we will learn what happens behind the scene when we are creating string objects in java.

next tutorial agenda :
difference between string literal and string object in java

So stay tuned.

follow us on facebook:
  / seleniumexpress  




Music :
-----------
credits : -

Adventures by A Himitsu   / a-himitsu  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  
Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  


-----

intro template :
wwww.youtube.com/Alexbau01


Sur cette page du site, vous pouvez voir la vidéo en ligne What is string and how to represent string in java || java string api || Episode - 1 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Selenium Express 23 octobre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 19,437 fois et il a aimé 285 téléspectateurs. Bon visionnage!