is this correct bluej program who will give answer with correct reasonwill be marked as brainliest
class printing_dots
{
public static void main (String[]args)
{
system.out.println("*");
system.out.println("**");
system.out.println("***");
system.out.println("****");
}
}
Anonymous:
Its easy
Answers
Answered by
5
class printing_dots
{
public static void main(String[] args)
{
system.out.println("*");
system.out.println("**");
system.out.println("***");
system.out.println("****");
}
}
Output:
Compilation error - package system does not exist.
Reason:
You have written system. It should be System(S should be capital).
Hope this helps!
Answered by
4
Hey there!
Given Program,
class printing_dots
{
public static void main (String[]args)
{
system.out.println("*");
system.out.println("**");
system.out.println("***");
system.out.println("****");
}
}
It is surely show an error.
We should use Upper Case S in the spelling of system while writing the output statement.
Good Studies!
Given Program,
class printing_dots
{
public static void main (String[]args)
{
system.out.println("*");
system.out.println("**");
system.out.println("***");
system.out.println("****");
}
}
It is surely show an error.
We should use Upper Case S in the spelling of system while writing the output statement.
Good Studies!
Similar questions