In this example we will show you how to use quotes inside a string in Java.
Source Code
package com.beginner.examples;
public class QuotesInsideString {
public static void main(String[] args) {
String str = "It's me."; // quotes inside a string
System.out.println(str);
}
}
Output:
It's me.