Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package kademika;
- public class FrameOneStringSix {
- public static void main(String[] args) {
- String mtQuote = "Let us always meet each other with smile, for the smile is the beginning of love.";
- String newMtQuote = mtQuote.replace("smile",":)");
- System.out.println(newMtQuote);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement