Task: 1
Due Date: 27 July 2024
Instructions:
Please copy the source code provided below and paste it into the NetBeans IDE. For each comment listed in the
source code (5 in total), create a [Link] method to print the respective variables. The output must
concatenate the string "This is an example of " with the corresponding variable.
public class Literals_Constants {
public static void main(String[] args) {
// 1. Integer Literals
// 2. Floating Point Literals
// 3. Boolean Literals
// 4. String Literals
// 5. Character Literals
Reach out if you've got any questions.