Error in code [Solved/Closed]

Report
Posts
105
Registration date
Saturday December 4, 2010
Status
Member
Last seen
December 30, 2019
-
 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
12
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 4135 users have said thank you to us this month

jones0167
Posts
105
Registration date
Saturday December 4, 2010
Status
Member
Last seen
December 30, 2019

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 + ",");