package com.examplehub.basics; public class Comments { /** * Driver Code * * @param args the arguments passed to main function */ public static void main(String[] args) { System.out.println( "This is a single comment"); // Single-line comments start with two forward slashes (//). System.out.println("This is a another single comment"); /* single or multi line */ /* *This is a multi-line comments. * This will print ExampleHub. */ System.out.println("ExampleHub"); } }