Computer Science, asked by tanishkasingh098, 7 months ago

If String n=”LEARN”; for(int i=0;i<n.length()-1;i++) System.out.println(n); will display - *




Answers

Answered by navylover2916
1

Answer:

It will print "LEARN" 4 times in different lines.

For example:

LEARN

LEARN

LEARN

LEARN

Answered by Oreki
1

Output:

LEARN

LEARN

LEARN

LEARN

Similar questions