+ Follow
since Apr 30, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vroummmmm

Here is the link to follow in Javaranch
PS: Learn how to use the search on this forum. You will find that for most of your questions there a post already there waiting for you.

[This message has been edited by Vroummmmm (edited June 16, 2000).]
Is there anybody who knows I to become a Java trainer (certified?) ?
21 years ago
Thanks guy, when I will found the theory I a will post it!
I passed the exam with success today.
JavaRanch made the difference for me bettween success and failing since I was studying alone.
I will say that now that I have some base (after all I'm a SCPJ2 now) Java ranch still a good place to improve and challenge what I know.
Thanks to all
(My nick name that can only use my friends, prononce it with a strong french accent).
[This message has been edited by Vroummmmm (edited June 13, 2000).]
I have the list of keyword published by sun at
and it is there. (added with Java 2)
My guest is that your JDK1.2 is not the last release or that you don't use it correctly.

In the code below what triggers my curiosity and my understanding is that the line tagged with Tag: produces q.y = 7 ?
Anyone can direct my research on this ?
class Shape {
int x=7, y=7;
int getY() {
System.out.println("Shape " + y);
return y;
class SubShape extends Shape {
int x=5, y=5;
int getY() {
System.out.println("SubShape " + y);
return y;
class CastObj extends Object {
public static void main(String args[]) {
Shape p = new Shape();
System.out.println("p.y = " + p.y + " p.getY() = "+ p.getY());
Shape q = new SubShape();
System.out.println("q.y = " + q.y + " q.getY() = "+ q.getY());

Tag:System.out.println("p.y = " + p.y + " q.y = "+ q.y);
System.out.println("p.getY() =" + p.getY() + " q.gety() " + q.getY());
// Result printed out
// Shape 7
// p.y = 7 p.getY() = 7
// SubShape 5
// q.y = 7 q.getY() = 5
// p.y = 7 q.y = 7
// Shape 7
// SubShape 5
// p.getY() =7 q.gety() 5



[This message has been edited by Vroummmmm (edited June 12, 2000).]
Thanks I get it.
I've try this way to get it.
System.out.println( sb1.toString().equals(sb2.toString()));

Again guys, out there taking care of those questions let me say that I appreciate a lot.
It seems like I have missed a point in my lecture somewhere and I have difficulty to understand the following test I have done with the equal method.
Let see my code:
Line 1 StringBuffer sb1 = new StringBuffer("JAVA");
Line 2 StringBuffer sb2 = new StringBuffer("JAVA");
Line 3 System.out.println( sb1.equals(sb2)); //false

Line 4 String s1 = new String("JAVA");
Line 5 String s2 = new String("JAVA");
Line 6 System.out.println( s1.equals(s2)); //true
What I was expecting the same result in line 3 and 6. Could you give me an advice of where I can go for fixing my inquiry.
Hummmm, I'm not able to put at work this new version of ThinkPad .
Any suggestion is welcome.
(Even when writting you can hear my french accent. Isn't it?)