Please, I need help on how to connect to Sybase ASE 11.9.2 from a JSP code. I have already tried all I can using ASP but could noy connect so I decided to try JSP. Thanks.
Erik Dark, I'm your suggestion will not work 'cos the values of x and y will still remain thesame after calling swap(). Try displaying the values of x and y after calling Swap() in the main() method and you'll see what I mean.
Please, how do I use a class with a public 'main' already implemented? Look at this, assuming all classes belong to thesame package. //file AAA.java class AAA { public static void main(...) { ... System.out.println("Class AAA"); ... } }
I tried doing this but it did not work //file BBB.java class BBB { public static void main(...) { AAA aaa = new AAA(); aaa.main(); //??? I want "Class AAA" displayed } } I even tried calling the AAA.main() without instatiating class AAA from withing class BBB - I got same error msg.
Please, I can't seem to find any function to get the ascii value of a Character e.g. 'A' is 65... and also a function to convert decimal to hexadecimal. Thanks.
Please, I can't seem to find any function to get the ascii value of a Character e.g. 'A' is 65... and also a function to convert decimal to hexadecimal. Thanks.