is it a class in API or is it an interface?
What is the "it"?
Printable View
is it a class in API or is it an interface?
What is the "it"?
I did
which compilesCode:import java.util.concurrent.Callable;
then
And same compiler errorCode:call(newObj(paraM);
Code:client.java:5617: cannot find symbol
symbol : method call(java.lang.String)
location: class client
call(newObj(paraM));
^
1 error
Finished!
Press any key to continue . . .
Where is the method call defined? What class is it in?
This is VERRRRRRY basic OOP and java programming. You need to find some tutorials that will teach you about using classes and methods. The problems you are posting here show that you do NOT understand what a method is, how it relates to a class and how to use methods and classes.
correct me if I'm wrong but, isn't call in
the Callable interface?Code:import java.util.concurrent.Callable;
Oh WOW what a huge missunderstanding I must of read your post to fast
"Yes, You can use/call the System.out.println() method in any method."
I thought you meant there was an importable method call() haha, Okay well what I was saying is System.out.println() can it print it's arguments into another method or only into the GUI? If so, how do I get system.out.println to print into another method?
Your questions make no sense.
You need to do some reading and studying before trying to code programs.
I'm done here.
Good luck.