Skip to content

Conversation

Guleri24
Copy link

add some lines to define the output

add some lines to define the output
@HarrisMBrad
Copy link

public commit Application {

public static void main(String[] args) {
        int myCommit;

        myCommit = "This is a primitive type";

        System.out.PrintLn(myCommit)

}

System.out.println(values[1]);
System.out.println(values[2]);

System.out.println("values present in array values using for loop are as follow:");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a repetition of the below code?

 System.out.println("values present in array values using for loop are as follow:");
        for(int i=0; i < values.length; i++) {
            System.out.println(values[i]);
        }

Copy link

@jfullstackdev jfullstackdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line of code commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants