Ravith Botejue

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

Recent posts by Ravith Botejue

I managed to get rid of the problem.

The problem was caused by the portlet-api-blah-blah.jar libraray in my application. I deleted that file and added the jboss portlet api libraries in
JBOSS_HOME\default\deploy\jboss-portal.sar\lib
to my ant build script under compile class path.

BINGO!
15 years ago
I too got the same problem with jboss portal+ AS 2.4.. Any clue. pls let me know.
15 years ago
I faced the same problem.
I suggest to do the 1.4 and upgrade to 5.0 other than directly doing the 5.0. (if you dont ever mind about the cost)
I suggest this because, I prepared my self for 1.4 and then 1.5 came. then started 1.5. but luckily 1.5 is not deliverd in testing centers here. THerefore I had no choice.
But after doing the exam I felt that if I did the 1.5 exam incase I would have definetely failed.
(but I passed 1.4 with 88%) It was so tricky.
SO I suggest to first complete 1.4. Then you have nothing to lose in ur certification. But if you directly approace the 5.0 and unfortunately fail then you have no certification and no money also.

Decision is yours.

Think twice before you act.

All the best in your future.

Ravith Botejue
SCJP

Originally posted by amit taneja:

"So what gets called is the inherited version from Super."
how can a static method of super be inherited in subclass ?
and we have also not called the method Super.main(String[]); either ?

bit confused ? ..pls clarify



I tried the following example code

public class test1{
public static void method1(){
System.out.println("test1 method1()");
}

public static void method1(int i){
System.out.println("test1 method1(int i)");
}

public static void main(String args){
test1 t = new test1();
System.out.println("test1");
//super s = t;
method1();
method1(1);
}
}

public class test2 extends test1{
public static void method1(){
System.out.println("test2 method1()");
}

public static void method1(int i){
System.out.println("test2 method1(int i)");
}

public static void main(String[] args){
test2 t = new test2();
System.out.println("test2");
//super s = t;
method1();
method1(1);
}
}
the output is
test2
test2 method1()
test2 method1(int i)
so it seems like the main method from the super class is overridden by the main method in the subclass.

when i removed teh main method in the sub class

it printed

test1
test1 method1()
test1 method1(int i)

some thin messy is happening inside....

any way ithink your doubt is cleared
can somone explain to me about the regular expressions and how greedy, reluctant, possesive quantifiers work, also the new locale class and the printf() method. I have read the MZ's SCJP Tiger Notes but I am still not clear.
--------------------

RB
can somone explain to me about the regular expressions and how greedy, reluctant, possesive quantifiers work, also the new locale class and the printf() method.