Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jbourne68

    CHecking to see if a string can be casted to a char?

    sorry the line byte value = chars; should be char[j] with the j really being an i I guess that is the how the software parses these posts treats italics
  2. jbourne68

    CHecking to see if a string can be casted to a char?

    this class will compile and run and do what you want I think, :-) public class ContainsOnlyInts { public static void main (String[] args) { boolean onlyInts = true; checkValues: // Used to end if ( args.length == 1 ) { byte[] chars = args[0].getBytes(); for ( int...
  3. jbourne68

    Class File and it's constructors

    I hope this will answer you question. It looks like you are doing a couple things wrong. First, when you want to call a static method on a class you must call ClassName.theMethod() or create an instance of the class and then call a method. If you want to open a file to read the best thing to...

Part and Inventory Search

Back
Top