Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!

Paul Anilprem

Enthuware Software Support
+ Follow
since Sep 23, 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 Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Paul Anilprem

Congratulations, Jaime! Good job!!
17 hours ago
Congratulations, Eric!
Glad to know our material was helpful in your preparation
17 hours ago
Congratulations, Ains! Glad to know our material was helpful in your preparation

Piet Souris wrote:
hi Daniele!

Daniele Barell wrote:
The rest of the name for getters and setters is the name of the property encapsulated beginning whith capital letters:
So for example we have a property called numberOfExams the getter and setters must be called
getNumberOfExams() and setNumberOfExams;
Hope you'll make me clear. 

No, it is the other way round!
Suppose you have this class:

then you have the property: familyName, and its value is: lastName. You may be forgiven to think tht the property is lastName, to be retreived by the getFamilyName method, but as said, it is just the other way around.

True. In other words, a "property" of a class may not always have something to do with an instance variable of the class.  If you have a String getSalutation() method in a class, then that class has a saluation property of type String. Whether this method returns the value of an instance variable or fetches it directly from the database is irrelevant. If you also have a setSalutation(String ) in the class, then the property is editable otherwise it is just readable.

Similarly, if you have a isCertified or getCertified method that returns a boolean then the class has a boolean property named certified.
In other words, casting operator has higher precedence than + operator
Congratulations on passing, Albert! Glad to know our simulator was helpful in your preparation.

For 809, I will suggest you to first go through a good book that is specifically meant for the exam thoroughly before attempting mock exams. Also, if you score too low on the first mock exam, do not immediate try to take the next mock exam in the hope of improving your score. But first read the explanations provided with the questions and go through the topics in which you scored less from the book. Write test programs to make sure you are comfortable with the concepts. Only after that, take the next exam. If you follow this process, your score will definitely continue increasing in the subsequent mock tests and you will not be stressed too much during the real exam.

All the best!

2 weeks ago
As per section 2.5.3. of JVM specification:

The Java Virtual Machine has a heap that is shared among all Java Virtual Machine threads. The heap is the run-time data area from which memory for all class instances and arrays is allocated.

That said, I do remember reading somewhere that in certains situations an object may be allocated in stack space as a matter of optimization but semantically that will not make any difference.
Congratulations, Sarah! Glad to know our s/w was helpful in your preparation
1 month ago
Plan on writing a lot more code while preparing for OCPJP
You can purchase and download it from
Congratulations, Mario! Great score!!
Glad to know that our product was helpful in your preparation
1 month ago
Thank you for your testimonial, Pete. We sincerely appreciate it.

I would like to mention that we are very serious about the quality of our material. We refund the customers money if they report any three mistakes (major or minor) in our content. We update the content as soon as we come across any mistake. We also log issues reported by users publicly on our forum. We have several customers who, in spite of reporting a few mistakes, did not ask for refund because they felt our product was well worth the price they paid for it or felt that the mistakes were too minor.

Reporting an issue with a question is also very easy because a unique link is shown for every question. This link takes you to a discussion on that question (if it exists) or lets you post a new query against that question.

thank you,
Congratulations, Charlie! Great score!!
Glad to know our material was helpful in your preparation
2 months ago