Results 1 to 4 of 4
- 02-15-2010, 10:02 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 10
- Rep Power
- 0
calling method of different project package class
Hi,
I need to call a method paste() which is in the different application all together in my company (means different project and package folder, obvious the class is different)
It is service call and properties are defined in our project folder.
please give a sample code to write within my method for calling this method.
Do I create a new constructor?
Constructor cons = new constructor;
xxx???
- 02-16-2010, 10:47 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
And they're paying you to write Java?
- 02-16-2010, 05:15 PM #3
Member
- Join Date
- Feb 2010
- Posts
- 1
- Rep Power
- 0
You have to import the project in which paste() is defined into your project and call it.
--Sudha
- 02-16-2010, 05:36 PM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
Child-Class Calling a Method in a Parent-Class
By Blah_ in forum New To JavaReplies: 5Last Post: 09-29-2009, 02:48 AM -
Calling a method in a different class from within a method problem
By CirKuT in forum New To JavaReplies: 29Last Post: 09-25-2008, 07:55 PM -
Calling a method on original class from created class
By kpedersen in forum Advanced JavaReplies: 4Last Post: 08-20-2008, 12:25 AM -
Calling method from another class
By asahli in forum New To JavaReplies: 1Last Post: 12-15-2007, 06:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks