Serg Masow

Ranch Hand
+ Follow
since Dec 17, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Serg Masow

Hi,

you could just use oracle java ee 7 tutorial, part VI: Web Services java ee 7 tutorial
9 years ago
and after you have corrected extend to extends, you need to change the line
private JPanel deckList;
to
private JList deckList;
and then you'll be able to run your app




10 years ago
Hi again,

docs are available on the oracle home page, e.g.
http://docs.oracle.com/javase/6/docs/technotes/tools/index.html#basic

and especially about semi colon in the class path here

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html

kind regards
Serg
10 years ago
Hi,

according to compiler errors it seems like the packages defined within the gridworld.jar cannot be found. It can be the problem with the separator sign in the class path. on windows systems you have to use ; instead of :. let's try with the following command

javac -cp .;gridworld.jar *.java

regards
Serg
10 years ago
Hi All,

yesterday I have passed the "Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam" with a score of 93 %.

The resources mentioned under ScbcdLinks were a real help for preparation. The notes of Frits Walraven are also very useful. Even if the EJB 3.1 specification is sometimes a bit hard to understand if you want to know it exactly you have to look into it.

The one thing is clear. I would have been failed in the test if I didn't use the mock exams of Enthuware. The tool is an absolute "must have" for the preparation. Thanks a lot for it.

kind regards
Serg

10 years ago

Originally posted by Abhi vijay:
Congrats.
Wanted to ask you,which other books did you refer???



Hi Abhi,

I just used this one book (K&B)for exam preparation. It covering excellent the SCJP 5.0 stuff and for additional infos about java.io.Console, java.util.NavigableMap and java.util.NavigableSet you can just refer to Java-API
really important is to do as many mock tests as possible.
Whizlab-simulator is good for exam preparation, but not for free.
Java.Inquisition is another good mock test and is also for free.
This is a good resource for regex understanding.
Here you can fond some tricky parts of exam
SUN java tutorials are also helpful
And last but not least The Java Language Specification

kind regards
Serg
15 years ago
Hi everyone,

yesterday I passed SCJP 6.0 with score of 95%. Thanks a lot to you all for help.
The book of Kathy Sierra and Bert Bates is really good choise for exam preparation.
The mock questions in whizlabs-simulator are also very good but may be a little bit harder as the real SCJP test.

Serg

SCJP 6.0
15 years ago
Hi,

because in this example TreeSet uses the natural order for sorting of it's elements and digits are "lesser" as letters.

regards
Serg
The questions above are from a SCJP5 quiz included in Java.Inquisition, which can be found here:
http://enigma.vm.bytemark.co.uk/webstart.html
Hi all,

there is a question in the quiz:



and possible answers:

a) ab666
b) ab
c) doesn't compile

right answer given: c.

But the code compiles (with warnings but still compile!!!). It just throws an exception at runtime because String and Integer are not mutually comparable.

And another case. There is a piece of code without a question and you have to choose 1, 2, 3, 4:




regards

Serg
Hi all,

� 8.4.8.2 of the current version of Java Language Specfication defines that the same rules are applied for hiding static methods and overriding instance methods. Here is the link:

http://java.sun.com/docs/books/jls/third_edition/html/classes.html#227929

regards

Serg
Hi Saurabh,

there is no contradiction. The prefix add can also be used. But just add a listener. In such a case the method name must begin with add and ends with word "Listener" and have the same listener type as argument. So a valid method declaration can be:

public void addSomeListener(SomeListener ls);

please look into the K&B book on the page 9 (JavaBean Listener Naming Rules) for further explanation.

Serg
never looked at this problem from this point of view.
Your opinion is also it does not make sense to have a static method inside of inner class.
Probably because the regular (non-static) inner class can not be used without an instance of the enclosing class?
Hi Paul,

many thanks, it's what I looked for. A reference to JLS is always good, even if sometimes it really hard to understand.
Hi everyone,

is there a good explanation why static members are not allowed inside regular (non-static) inner class?

It would be nice to hear your opinions...

regards
Serg