wood burning stoves 2.0
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Help with 2 common SCEA mock questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Help with 2 common SCEA mock questions" Watch "Help with 2 common SCEA mock questions" New topic

Help with 2 common SCEA mock questions

Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51

From all the mock exams I have gone through, there were 2 particular questions/answers I did not understand.

The first is - inheritance allows you to restrict the bahavior of objects. I don't get this. Could somebody please help me with this.

The other one relates to an applet being downloaded to a client PC which sits behind a firewall. The questions/answers seem to imply that the applet could be automatically trusted by the firewall. Does this ring a bell with anybody?

Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
"inheritance allows you to restrict the bahavior of objects."

I think this depends what perspective is taken. You could also say: "inheritance allows you to add behavior of objects."

Look for overriding / overloading.

Applet can be downloaded behind firewall by client browser. Applet runs in sandbox in client jre which restricts usage. You are permitted to take connections from applet to server it was downloaded. If firewall prevents it, then technique cannot be used.

Hope this helps.

SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11730

Please quote the source of the question. Responses will not be allowed in this topic without it.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Apologies - the source was whizlabs

One of the answers I read said that if a firewall or server filters packets by ip address, it would be possible for a downloaded applet to be trusted automatically by the firewall/server.

Does this mean that if I download an applet from a particular site, e.g. http://mysite.com - it would be possible to setup rules on my firewall to ensure the applet it trusted automatically, i.e. user is not prompted to trust the applet. If so does it apply to all applets regardless of whether they are signed or not

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Help with 2 common SCEA mock questions
It's not a secret anymore!