I have a question !!
im fairly new to Java and in my class we are doing multi class and we use
Validation myVal = new Validation(intQuantity);
to send the info to the class
can i just import that class?? can call the function ???
import Validation.*; ?????
If your class is in the same directory then you shouldn't have to specify an import tag. Otherwise you're gonna want to package it and put it in the relevant directory.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL