Error in code

Solved/Closed
Report
Posts
110
Registration date
Saturday December 4, 2010
Status
Member
Last seen
September 22, 2021
-
 Blocked Profile -
Hello,

how to make function like this :


I want java ( graphical interface and write code )

Thank you

System Configuration: Windows / Internet Explorer 11.0

1 reply

Posts
11
Registration date
Thursday December 27, 2018
Status
Member
Last seen
March 29, 2019
7
In java there is no function "printf", there is "System.out.println"
SO it would looks like:

class PrintHelloWorld {

public static void main(String[] args) {
System.out.println("Hello World!");
}
}
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2821 users have said thank you to us this month

Posts
110
Registration date
Saturday December 4, 2010
Status
Member
Last seen
September 22, 2021

thank you , but , i didn't say that function it's ( java ) , i know it's not for java it's for ( c )
Blocked Profile
Hey Jones, this is correct. Or, you could use:

System.out.print(value + ",");