Java Tutorial 3: String Class and String Methods replace encryption technique

95 Views
Published
Java Tutorial 3: String Class and String Methods replace encryption technique

Task: Write a program which replaces every occurrence of one character with another, i.e. similar to String text = “Hello World”; // replace e by 6 & l by 9; do not use replace();
Output as ,
H699o Wor9d

In this lecture we will learning the and understanding about using java String class and methods of java String that allow us to perform various operations on String Datatype. The string data type is the foundation of text processing in Java. In order to use and process alphanumeric text in Java you will have to use String data type. String data is internally treated as an object, because technically each string in Java is simple collection or array of characters. This chapter focused on creating and using Strings.

Please give this video a thumbs up and leave your feedback. Don't forget to SUBSCRIBE my Channel and hit that BELL icon as It helps my channel to grow.

Visit:
like FB page: https://www.facebook.com/drzeeshanacademy/
instagram: @zeeshanbhatti22

Check out my courses on Udemy at https://www.udemy.com/user/zeeshan-bhatti/


#java #javaprogramming #android
Be the first to comment