OAC Study Guide - Programmer I (question)

For the following code block, found on page 257 of the OCA JSE7 Guide Question #7, an IDE alert shows up "the value of the local variable sum is not used", however the answer is 15. What are the assumptions not given, specifically related to sum?
          int[][] square = new int[3][3];
          for(int i=0;i<3;i++){
               square[i] =5;
          int sum = 0;
          for(int i=0;i<3;i++) {
               for(int j=0;j<3;j++){
               sum +=square[i][j];
          }Edited by: 1003731 on May 2, 2013 8:31 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

oops, I fixed my copy of the code. In the future use \ tags when posting code to prevent the forum from eating up formatting tags and to have it printed out prettily like you can see in my post, like so:
\yourcodehere
\But what I say may not be relevant anymore soon as the forum is getting a major upgrade.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Study guide for OCA Java SE 7 Programmer I, exam 1Z1-803

    Are there any study guides available for this exam? Is it ok to use a book that is based on Java SE 6? Something like this parhaps: http://www.amazon.com/Certified-Associate-Study-CX-310-019-Certification/dp/0071490035/ref=sr_1_1?ie=UTF8&qid=1319735603&sr=8-1
    The exam I want to study for is a beta exam. I'm not sure if I should study for this beta exam or the old SE 6 exam. Thoughts?

    I'm agree for the suppose that Oracle left the exam topics very vague !!!!!
    If you want to prepare you must study on book based on java basics and you can prepare online Java 7 Api .
    It's easy learn Java 7 i tried in 2 month and now is ok eheheh :)
    A guide is not the same as a good book you can find online so much tutorials but you will learn more with a good book .
    For me you can use tutorials only for base guide then you can learn more with a book
    Good study :)
    Olliver

  • Question about IDS Self Study Guide for IDS

    Hello,
    i'm searching for a self study guide for the ips (ASA-SSM-10/20) where i can see how to configure signatures and deployment.
    Thanks in advance for your help
    regards
    Klaus

    The signature configuration for the SSM module is identical to any of the other IPS sensors. The root of all IPS documentation is here:
    http://cisco.com/en/US/products/hw/vpndevc/ps4077/tsd_products_support_series_home.html
    Here is the ASA 7.1 doc on how to move traffic to the SSM
    http://cisco.com/en/US/docs/security/asa/asa71/configuration/guide/ssm.html

  • OCA/OCP study guide

    Hi All,
    I have a question about the 1Z0-803 and 1Z0-804 exams study guides. what do you think? Is it OK to use "Sun certified programmer java 6 study guide by kathy sierra" as a study guide for OCA/OCP exams?
    Thanks
    Lina

    Lina,
    Yes the book is very good for 1Z0-803 exam along with oca 7 training lab. For OCPJP 7, we are yet to find study books.
    Thanks
    Treacy.

  • Need SCJP study guide for java 5.0 by katherine sierra pdf

    I am planning to prepare for SCJP 5.0 , can somebody please send me pdf copy of SCJP Sun Certified Programmer for Java 5 Study Guide by katherine sierra . please mail it to me at [email protected]

    Since Sun is unwilling to moderate this forum they should close this certification forum.
    Because as I see it they are setting themselves up for liability here as various criminals, thieves and lowlifes like the OP and the last two posters congeal together in a mass of ethicless slime.
    There is a well established co-relation between the population seeking certification and copyright infringement and intellectual property theft and this is dealt with appropriately on other forums through moderation.
    Since Sun has never and will never moderate these forums they should remove this forum because otherwise it aids and abets these criminals, and I would argue actively condones this morally appalling behaviour.
    I would urge readers of this thread to submit feedback on this matter, as I shall also do but additionally I will be sending an email to the marketing department at Sun.

  • 1z0-035 study guide

    anyone have 1z0-035 study guide or material?
    kindly let me to know............................pls

    There is no study guide specific to 1Z0-035 available. Since the test is being retired in a few months, it is unlikely there will be one created. You can find the relevant documentation and links to white papers and other material that can be used to prepare at the following URL:
    http://www.oraclecertificationprep.com/apex/f?p=OCPSG:EXAM_DETAILS:0::NO::P2_EXAM:1Z0-035
    I see that you asked this same question back in October of 2011 and apparently didn't follow through to upgrade your OCP:
    Upgrade ebooks/material required
    1Z0-035 is being retired. After July 31st, if you have not upgraded your OCP, you will have to take the exam *1Z0-045: Oracle Database 10g DBA New Features for Oracle8i OCPs*. There is also no study guide specific to this exam.

  • Study Guide book for Java Certified Associate SE 5/6 Exam 1Z0-850

    Hello All!
    I'm a student and Just finished my java course. I planning to take the Java Certified Associate SE 5/6 Exam 1Z0-850 ASAP. My questions:
    1) Is there a study guide available for this (thought I could fine OCA SE7 which will be released only on Aug 2012. Can't wait that long)? is
    2) I read that there's no pre-req for this exam or is there?
    I really need a study guide for this. Any help is greatly appreciated.

    Hi,
    I guess you didn't consulted Amazon:
    http://www.amazon.com/Certified-Associate-Study-CX-310-019-Certification/dp/0071490035/ref=sr_1_3?s=books&ie=UTF8&qid=1326348528&sr=1-3

  • Does reading ACE certification study guides help me understand photoshop?

    There are plenty of tutorials online teaching people how to do this and that; but for a newbie like me, the biggest problem is, I can follow the recipes, but most of the time, I don't understand the reason behind them. I have been wondering if these things would become more obvious and intuitive if I have a fundamental understanding of the tools first.
    Adobe seems to give out certification exams.  I am just wondering if it would be helpful to buy a exam study guide and read it through (not necessarily going for the certification).  Has anyone done it?  What guide is the best? Or do these guides are just more advanced recipes without explaining anything either?

    I would suggest that you look at Adobe Classroom in a Book Photoshop CS5, Adobe Press.
    It does a good job of sharing the "why," almost as much as the "how." I feel that too many books, and tutorials skip the why, while only concentrating on the how. Many of the ACE questions come from the chapter review material, which is in Q&A form.
    Good luck,
    Hunt

  • Standard ACLs: CCNA ICND-2 Official Study Guide: Error Mine or Book's?

    Good evening.
    The book in question is the CCNA ICND-2 Official Study Guide from Cisco Press, 2nd edition, copyright 2008 by Wendell Odom.  Specifically I'm referencing an example of standard ACL configuration, the example situation found on pages 241 through 243.
    The criteria for the access lists state that Sam should not be allowed access to Bugs or Daffy; the implemented solution simply denies all outbound traffic from Sam on the Yosemite router.  Wouldn't this also prevent Sam from accessing resources on 10.1.30?  Wouldn't a better solution be to implement an outbound ACL on Albuquerque E0 to deny Sam access to the 10.1.1.0 subnet, like this?
    interface ethernet 0
    ip access-group 1 out
    ^Z
    access-list 1 remark Denies access only to Sam
    access-list 1 deny host 10.1.2.1
    access-list 1 permit any
    Maybe I'm reading the example entirely wrong, which is possible: it's pretty late here!  Any feedback would be greatly appreciated.

    Good evening.
    The
    book in question is the CCNA ICND-2 Official Study Guide from Cisco
    Press, 2nd edition, copyright 2008 by Wendell Odom.  Specifically I'm
    referencing an example of standard ACL configuration, the example
    situation found on pages 241 through 243.
    The
    criteria for the access lists state that Sam should not be allowed
    access to Bugs or Daffy; the implemented solution simply denies all
    outbound traffic from Sam on the Yosemite router.  Wouldn't this also
    prevent Sam from accessing resources on 10.1.30?  Wouldn't a better
    solution be to implement an outbound ACL on Albuquerque E0 to deny Sam
    access to the 10.1.1.0 subnet, like this?
    interface ethernet 0
    ip access-group 1 out
    ^Z
    access-list 1 remark Denies access only to Sam
    access-list 1 deny host 10.1.2.1
    access-list 1 permit any
    Maybe
    I'm reading the example entirely wrong, which is possible: it's pretty
    late here!  Any feedback would be greatly appreciated.
    Hi,
    Just a basic information on ACL woring flow,hope it would be helpful to deploy the acl in your scenario
    An access-list can be assigned to an interface in two directions:  - INput - OUTput
    Router(config)# int fa 0/0
    Router(config-int)# ip access-group 100 in
    Router(config-int)# ip access-group 101 out
    An access-list that was assigned to an interface in the INput direction will be applied to packets that are coming to that interface.
    An access-list that was assigned to an interface in the OUTput direction will be applied to packets that are leaving through that interface.
    Hope to Help !!
    Ganesh.H
    Remember to rate the helpful post

  • Cisco CSS and ACE study guide

    Hi,
    Im ready to kick start Cisco CSS and ACE load balancers. I found that 642-972 DCASD and 642-975 DCASI are the relevant exams for that. But, they are expired now. And, I couldn't even find the old materials for those. Could you please anyone assist me in getting started with this?

    Hi Kanwal,
    Thanks for your reply. BTW, wasn't there any specific study guides for 642-972 DCASD and 642-975 DCASI from Cisco? The reason behind this question is, I want to go step by step starting from how load balancing works, the basics and terminologies of load balancing and its various options and operations etc. I have been working with Network Security and just stepping in to DC operations.

  • Oracle EJB / Persistance certification study guide

    Hello -
    I'm sorry if I've asked a redundant question, if I have let me know.
    I want to take the either the "Java Persistence API Developer" or "Enterprise JavaBeans Developer" certification exams from Oracle, but I'm having a hard time identifying a good study book. There used to be a couple of good books for the old Sun Web Developer exam (I recall that the O'Rielly HeadFirst series had a very nice one), but I haven't found anything for these current exams. Also, the published "Apress" makes a guide for the Oracle Java 7 exam, but doesn't seem to make one specifically targeted at the two more advanced certs I mentioned.
    I've been a professional J2EE developer for 10 years now, and have used EJB, Hibernate, EJB3, etc for this entire time. I feel comfortable developing applications in this realm, I was really just looking for a well organized study guide / workbook to help prep me for the exam.
    VR,
    David

    990041 wrote:
    Hello -
    I'm sorry if I've asked a redundant question, if I have let me know.
    I want to take the either the "Java Persistence API Developer" or "Enterprise JavaBeans Developer" certification exams from Oracle, but I'm having a hard time identifying a good study book. There used to be a couple of good books for the old Sun Web Developer exam (I recall that the O'Rielly HeadFirst series had a very nice one), but I haven't found anything for these current exams. Also, the published "Apress" makes a guide for the Oracle Java 7 exam, but doesn't seem to make one specifically targeted at the two more advanced certs I mentioned.
    I've been a professional J2EE developer for 10 years now, and have used EJB, Hibernate, EJB3, etc for this entire time. I feel comfortable developing applications in this realm, I was really just looking for a well organized study guide / workbook to help prep me for the exam.10 years of experience is a far better prep than a book. I would check out the certification descriptions on the Oracle site for further reference material as advised by Oracle itself. Likely there may be even training classes involved.

  • Where to buy the study guide for Oracle Forms Developer 9i or 10g

    Hi, I am learning Oracle Forms Developer Build Internet Application. I am comfortable with SQL and PL SQL. I need authenticate Oracle Study Guide for Forms Developer which will help me in learning basics to advance level but I cannot afford the classroom course, it is beyond my pocket capacity. So I would like to know if Oracle sell only the study guides. I inquired at Book Shops in my area but did not get any help.

    Affan wrote:
    I just went through Oracle Press and Sybex websites and it seems none of the books available suits my requirement. Not everyone can afford class room training unless it is fully or partially sponsored by their employers. And I don't understand what people learn in just 5 days.All the information you need to learn the products and pass the certification exams is available in the freely available Oracle documentation. Sure, it's nice to have the Oracle University training or exam prep books which is often specifically focused on the topics on the certification exam, rather than having to combine data from a few different manuals. But there the free Oracle documentation is pretty darned complete and you'll likely learn more from working through that documentation than you would from the Oracle University material just because you've got to do the work to put things together.
    Justin

  • Sybex Linux+ Study Guide

    Hey,
    I am studying for my Linux+.   I got the Sybex book because I used them in the early 2000's and liked them.  They used to give you a PDF on a CD as well that you could use which was handy if you didn't have your book with you.  It was also handy because you could zoom it in (since I wear bifocals now) 
    They don't offer the PDF any more.  Any other good study guides that come as e-book or PDF?
    This topic first appeared in the Spiceworks Community

    pravric wrote:
    where can I get a study guide ( not practice exam) for *1Z0-450*: Oracle Application Express certified developer exam?I am not aware of any exam focused study guide .... there are a number of books ... some of which are shown at the end of the video whcih may be helpful .... http://blogs.oracle.com/certification/entry/0235 .... though bear in mind at least one has been updated to a 4.0 edition. And there may be some never ones as well. ( I recall, possibly very incorrectly, the PACKT one was promoted exclusively at an earlier incarnation of the video when I first saw it .... but I could have been very very wrong in this and my memory may have failed ). There is the Oracle online documentation as well.

  • Oracle University Study Guide

    Does anybody know how to get Oracle University Study Guides ?
    Is it possible to buy them ?
    Thanks,
    Navid

    I'm real skeptical of that.

  • Oracle financials study guide

    Hi,
    I'm Sarker, like to learn and certified Oracle financial. To do that I need to pass IZO-200, IZO-211, IZO-212, IZO-213. Can anybody please help me how to get those courses study guide?
    Thanks
    Sarker

    You can get the course material by attending the course. AFAIK, Oracle course materials are not available as a separate purchase.

Maybe you are looking for

  • How do I move my apps from my library to my desktop on a MacAir

    I've just received my MacAir and synced my phone to it.  I see all my apps in my library however when I click and drag to the desktop they do not show up right and I cannot click to open.  I'm new to Mac and am converting from the PC world.  Any help

  • Default Stroke Weights?

    Hi I found an old posting on this topic, but it was a few years and versions back. Is there any way to change the default line stroke values in Illustrator CC2014. They are of no use to me, and I have to enter the values manually? I can use the Libra

  • Convert a scatter graph with multiple data series into individual graphs

    I am trying to convert a scatter graph with multiple data series into individual graphs, with the series having the same formatting as in the graph when all series are together. Normally, if I delete any series, the color scheme for all the other ser

  • Weblogic HA for Active-Passive Admin Server configuration

    Hi, We are trying to install Admin servers in Active passive mode in a single domain to manage single set of managed servers (for OAM component). The scenerio is that I have Admin Server + Managed Server on OAMHOST1 and OAMHOST2 both. I can start Adm

  • Seeking the list of supported vs. unsupported Java JRE

    Greetings, Does anyone have a link to the specific Oracle page that details, exactly, what versions of Java JRE are: supported, unsupported? If no such page exists, then a specific Oracle page stating the EOL policy for Java JRE. Thanks! Randal