0
getting error when try to use this code System.out.printf("my name is %s","Roy"); it's showing like: exception in thread"main" Java.lang.Error: unresolved compilation problem: the method printf(String,Object[ ]) in the type printstream is not applicable for the arguments (String,int)at tutorial 19.App.main(App.java:11)
3 odpowiedzi
+ 1
you are using wrong print statement. Its like System.out.println(" "); there is nothing like "printf"
0
maybe give more of the code^^
0
yea maybe it is just this little thing i've missed