java programming

  • Thread starter Thread starter segun ade
  • Start date Start date
S

segun ade

how do i call a static method that is in another class.the method has no
attributes.
 
segun ade said:
how do i call a static method that is in another class.the method has no
attributes.

Just use Classname.MethodName. That's true for C# and for Java - but
for Java questions, I suggest you ask in comp.lang.java.programmer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top