SlideShare a Scribd company logo
1 of 6
http://www.javatpoint.com/java-string
JavaTpoint 
JavaTpoint is a Tutorial site that provide online Tutorials on many Technologies like 
Core Java , Advance Java, Python , Ajax, Cloud Computing, C, Android, Design 
Pattern etc. 
JavaTpoint is a Leading Tutorial site on World Wide . We provide easy and point to 
point learning. 
JavaTpoint also provide Tutorials on Interview Questions.
Java String:- 
Java String is a Array of Characters. A Java String contains a permanent arrangement 
of Unicode characters. 
String class is incorporated in java.lang bundle. So each one class in Java can utilize 
String class without importing any bundle. 
1. char[] ch={'j','a','v','a','t','p','o','i','n','t'}; 
2. String s=new String(ch) 
3. String s="javatpoint";
How to Create String Objects? 
There are two ways to create String Objects:- 
1. By String Literals. 
2. By New Keywords. 
By String Literals:- 
A string literal is the representation of string esteem inside the source code of a 
machine program . 
By New Keywords:- 
Two objects and a reference variable are created.
Java String Class Methods:- 
Our other Resources , links are given below:- 
http://www.javatpoint.com/java-string-charat 
http://www.javatpoint.com/java-string-length 
http://www.javatpoint.com/java-string-format 
http://www.javatpoint.com/java-string-substring 
http://www.javatpoint.com/java-string-contains 
http://www.javatpoint.com/java-string-join 
http://www.javatpoint.com/java-string-equals 
http://www.javatpoint.com/java-string-isempty 
http://www.javatpoint.com/java-string-concat 
http://www.javatpoint.com/java-string-replace
For complete Tutorial our , visit to our Tutorial site JavaTpoint 
http://www.javatpoint.com/ 
For Java String Tutorial, link is given below 
http://www.javatpoint.com/java-string

More Related Content

Viewers also liked

Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.)
Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.) Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.)
Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.) anyhaorg
 
Amber Laris Adelaide Chiropractor and Osteopath
Amber Laris Adelaide Chiropractor and OsteopathAmber Laris Adelaide Chiropractor and Osteopath
Amber Laris Adelaide Chiropractor and OsteopathDenise Angus
 
California Je'ron
California Je'ronCalifornia Je'ron
California Je'ronembryjd
 
Clase 0 forma de evaluación
Clase 0 forma de evaluaciónClase 0 forma de evaluación
Clase 0 forma de evaluaciónTensor
 
Bahan ujipublik kurikulum2013
Bahan ujipublik kurikulum2013Bahan ujipublik kurikulum2013
Bahan ujipublik kurikulum2013Rizki Amaliyah
 
Short quiz
Short quizShort quiz
Short quizVTC
 
Abm sound forge 09.04.13
Abm sound forge 09.04.13Abm sound forge 09.04.13
Abm sound forge 09.04.13UPSI
 
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_tool
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_toolMásolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_tool
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_toolmandika
 
the fundamentals_of_tawheed
the fundamentals_of_tawheedthe fundamentals_of_tawheed
the fundamentals_of_tawheedmr_haryono
 

Viewers also liked (14)

Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.)
Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.) Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.)
Божественная Литургия св. Иоанна Златоуста на абхазском языке (1907 г.)
 
Economics of crop and land management
Economics of crop and land managementEconomics of crop and land management
Economics of crop and land management
 
Amber Laris Adelaide Chiropractor and Osteopath
Amber Laris Adelaide Chiropractor and OsteopathAmber Laris Adelaide Chiropractor and Osteopath
Amber Laris Adelaide Chiropractor and Osteopath
 
California Je'ron
California Je'ronCalifornia Je'ron
California Je'ron
 
Clase 0 forma de evaluación
Clase 0 forma de evaluaciónClase 0 forma de evaluación
Clase 0 forma de evaluación
 
Bahan ujipublik kurikulum2013
Bahan ujipublik kurikulum2013Bahan ujipublik kurikulum2013
Bahan ujipublik kurikulum2013
 
Short quiz
Short quizShort quiz
Short quiz
 
Abm sound forge 09.04.13
Abm sound forge 09.04.13Abm sound forge 09.04.13
Abm sound forge 09.04.13
 
Bulletin - December 8, 2013
Bulletin - December 8, 2013Bulletin - December 8, 2013
Bulletin - December 8, 2013
 
Ppt kwu
Ppt kwuPpt kwu
Ppt kwu
 
Joe C.O. UFO Bites cereal
Joe C.O. UFO Bites cerealJoe C.O. UFO Bites cereal
Joe C.O. UFO Bites cereal
 
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_tool
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_toolMásolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_tool
Másolat eredetije ir annex5_d13_rurener-local-action-plan-evaluation_tool
 
Symbolsnew
SymbolsnewSymbolsnew
Symbolsnew
 
the fundamentals_of_tawheed
the fundamentals_of_tawheedthe fundamentals_of_tawheed
the fundamentals_of_tawheed
 

Recently uploaded

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 

Recently uploaded (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Best Online Java String Tutorial

  • 2. JavaTpoint JavaTpoint is a Tutorial site that provide online Tutorials on many Technologies like Core Java , Advance Java, Python , Ajax, Cloud Computing, C, Android, Design Pattern etc. JavaTpoint is a Leading Tutorial site on World Wide . We provide easy and point to point learning. JavaTpoint also provide Tutorials on Interview Questions.
  • 3. Java String:- Java String is a Array of Characters. A Java String contains a permanent arrangement of Unicode characters. String class is incorporated in java.lang bundle. So each one class in Java can utilize String class without importing any bundle. 1. char[] ch={'j','a','v','a','t','p','o','i','n','t'}; 2. String s=new String(ch) 3. String s="javatpoint";
  • 4. How to Create String Objects? There are two ways to create String Objects:- 1. By String Literals. 2. By New Keywords. By String Literals:- A string literal is the representation of string esteem inside the source code of a machine program . By New Keywords:- Two objects and a reference variable are created.
  • 5. Java String Class Methods:- Our other Resources , links are given below:- http://www.javatpoint.com/java-string-charat http://www.javatpoint.com/java-string-length http://www.javatpoint.com/java-string-format http://www.javatpoint.com/java-string-substring http://www.javatpoint.com/java-string-contains http://www.javatpoint.com/java-string-join http://www.javatpoint.com/java-string-equals http://www.javatpoint.com/java-string-isempty http://www.javatpoint.com/java-string-concat http://www.javatpoint.com/java-string-replace
  • 6. For complete Tutorial our , visit to our Tutorial site JavaTpoint http://www.javatpoint.com/ For Java String Tutorial, link is given below http://www.javatpoint.com/java-string