We know that already. But we need the class name of the object "buffer". So we can see what the method getInt(0) is doing.
For example "buffer" could be an object of class "ResultSet" . Then it would return the integer value of the stored table column via JDBC.
no i can't ..... m asking the function of getInt thats it.... what u have to do with the code, sir..........
Without the code, no one can tell what getInt does because the answer depends on which class getInt is in.
Example
[CODE=java]class A {
public A() {
}
public String getInt() {
return "going around in circles";
}
}[/CODE]
Now
[CODE=java]A buffer = new A();
System.out.prin tln(buffer.getI nt());[/CODE]
As you can see my getInt is very much different from your getInt().
no i can't ..... m asking the function of getInt thats it.... what u have to do with the code, sir..........
Ok, if you're not going to tell us what the type (class) of 'buffer' is any guess is as
good as the other; my guess: toInt() first makes daemons fly out of your nose and
then Meryl Streep will hound you for the rest of your life while you turn purple and
your privvy parts will shrink beyond regular proportions while singing the Out of
Africa title song which makes the bytes in your computer laugh at you which in
turn will make Meryl Streep even angrier.
Ok, if you're not going to tell us what the type (class) of 'buffer' is any guess is as
good as the other; my guess: toInt() first makes daemons fly out of your nose and
then Meryl Streep will hound you for the rest of your life while you turn purple and
your privvy parts will shrink beyond regular proportions while singing the Out of
Africa title song which makes the bytes in your computer laugh at you which in
turn will make Meryl Streep even angrier.
kind regards,
Jos
nice answer jos..... but its something very critical which i cant....
ok i will give u that portion
maybe you are trying to be convinced.... and also trying to derive it to them...
And explains it all for you just like what my instructor are doing....
and in the above code EventLogHeader is the class and in that class they have mentioned it like this:
public int getNextIndex() { return (int)nextIndex; }
public void setNextIndex(in t nextIndex) { this.nextIndex = (long)nextIndex & ClientData.MASK _U32; }
and in the above code EventLogHeader is the class and in that class they have mentioned it like this:
public int getNextIndex() { return (int)nextIndex; }
public void setNextIndex(in t nextIndex) { this.nextIndex = (long)nextIndex & ClientData.MASK _U32; }
That is not the relevant code. Where is buffer declared and initialized?
my guess: toInt() first makes daemons fly out of your nose and
then Meryl Streep will hound you for the rest of your life while you turn purple and
your privvy parts will shrink beyond regular proportions while singing the Out of
Africa title song which makes the bytes in your computer laugh at you which in
turn will make Meryl Streep even angrier.
kind regards,
Jos
Wow! That's awesome what your getInt() function is doing. Better than going around in circles. Can you send me the source code of this function over? I need to send it to a "friend". He once got very angry that I did a bad thing to him. I asked, what thing, and he said, somebody told him, but he doesn't want to repeat it, I should know by myself what I did. I askd him, who told you, and he said, he doesn't want to tell me the name of his informant, because he has promised him to keep his name secret. So he asked what will I do now? I told him I don't know of anything bad that I did to him, and he got angry and told me a liar, he can see the smirk in my face. I should at least be sorry and admit it.
So I said, whatever bad I have done to you, I feel sorry. That calmed him down, but I never figured out what it was.
Comment