import

N

Nishi Bhonsle

I have a public class Summary containing all public methods under
C:\adc\source\java\Impl1\test\source\dev\code\prog1\

which I need to instantiate and call its methods in the NewTest class under

C:\adc\source\java\Impl2\test\dev\code\prog2\

Can I just import the Summary class in NewTest and then instantiate it and call its methods?
(import Impl2.test.dev.code.prog2.*;)


Thanks.
 
T

Tony Morris

Yes.
Try It And See(TM)

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software
(2003 VTR1000F)
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top