String Literals in java
Java Programming Language / Variables in java
1916Program:
//Java literals are fixed or constant values in a program's source code. public class StringLiteral { public static void main(String[] a) { String strLiteral = "String Literal"; System.out.println(strLiteral); } } /* string literals are enclosed in double quotes for example, "Coffea arabica" "Hello world" */
Output:
String Literal Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS