Results 1 to 3 of 3
- 01-29-2009, 03:00 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 99
- Rep Power
- 0
- 01-29-2009, 03:06 PM #2
Senior Member
- Join Date
- Dec 2008
- Location
- Kolkata
- Posts
- 280
- Rep Power
- 5
In java I dont think you can think of any thing without a class. Now as far as using it anywhere is concerned , not sure about java script, but if the methods are public and the class in which the methods have been declared is public, it can be called from any other class.
- 01-29-2009, 03:12 PM #3
Building a little more on what dswastik states, place it in a class... hhhmmm ... maybe call it "Library" and build it up with more more useful methods, like, Openfile, ReadFile, RountToTwoDecimals, etc. That way you can access your favorite/custom methods from one source.
Luck,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Similar Threads
-
Java, Military Format using "/" and "%" Operator!!
By sk8rsam77 in forum New To JavaReplies: 11Last Post: 02-26-2010, 03:03 AM -
MoneyOut.println("It took you (whats wrong?>",year,"<WW?) years to repay the loan")
By soc86 in forum New To JavaReplies: 2Last Post: 01-24-2009, 06:56 PM -
"source not found" at debug time when creating new class
By rafamd11 in forum New To JavaReplies: 0Last Post: 11-22-2008, 01:49 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM -
failure at Class.forName("oracle.jdbc.driver.OracleDriver");
By RonNYC in forum EclipseReplies: 1Last Post: 03-14-2008, 02:51 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks