Could anyone tell me whats the code means??

Hi,
Could anyone tell me explanation of the code below:
player1.placeArmy(world.southAmerica().territory1());
all I know is that it is calling the method of an objects. I am not really sure about whats inside the bracket. How could such argument have the dot notation format?
Furthermore, could anyone have some advices about references to the multiple classes code example??

player1.placeArmy(world.southAmerica().territory1());player1 is a variable of some type. This type has presumably a method called placeArmy, which takes a parameter.
world is another variable of some type. This type has presumably a method called a method southAmerica(),
which returns a value of a type, which has a method territory1(), whose return value is provided as teh paramtere value to the method call mentioned above.
Another useful example as a food for thoughts could be:
Object o = new Integer(3);
System.out.println(o.toString());

Similar Messages

  • Can anyone tell me what the codes following dictionary entries are in the Australian English dictionary add-on?

    Most entries have codes after them, eg:
    abalone/MS
    abase/LDSG
    abaser/M
    abash/LGDhS
    abbreviate/nDGNS
    aberrantes
    aberration/SM
    Abilene/M
    abjure/yDNSnRG
    I can't establish a pattern for them...can anyone tell me what they are for, and if they can be deleted?

    That are flags to specify what kind of data that entry is and how it can be expanded with a prefix and suffix. The accompanying file *.aff define what those flags mean.

  • Could anyone tell me what the 'irj' stands for? what is its abbreviation?

    thanks, I have not found any explanation from SAP documentation.

    hi,
    In addition to what others said
    The Java iView Runtime is part of the iViewServer. It runs as a servlet on a Java application
    server. It executes Java iViews and renders the returned content. It provides Java iViews with
    access to infrastructure services such as user management. It also offers personalization of
    Java iViews and stores personalization data and any other persistent data in the persistence
    layer.
    In addition the Java iView Runtime provides a development platform that allows developers to
    build their own iViews written in Java or JSP.
    SAP portal components are deployed as enterprise archives to the iView Runtime for Java (IRJ), the EP's Java runtime environment. You can develop and build a portal component archive (PAR) file with any commercial IDE you can even use Apache Ant, the open source build tool. For the Eclipse Platform, SAP provides a custom plug-in that supports portal component development projects with wizards and templates based on the DynPage framework. The Eclipse plug-in also enables the hot deployment of portal archives directly to the IRJ.
    Regards,
    Ganesh N

  • Can anyone tell me what the following error code means? 4MOT/2/40000004: BOOSTA-1235

    Can anyone tell me what the following error code means? 4MOT/2/40000004: BOOSTA-1235
    Fans are running permanantly and this is the error I get when running apple hardware test.

    SNS is a sensor error. The sensors read actual temperatures at several points inside the Mac chassis to decide when things are heating up, and which fan or fans speed up to improve cooling.
    Some of those sensrs are just a thermal-sensitive transistor mounted to a surface that conducts heat, and replacement does not run into big money. Disconnected wires are sometimes a possibility, especially if things were changed nearby, e.g., new heatsink.

  • TS3988 i want to delete my iCloud account and get a new one. but i can not delete as it says that my iphone is being restored. could anyone tell me what would be the solution to my problem. i will be thankful to you..

    i want to delete my iCloud account and get a new one. but i can not delete as it says that my iphone is being restored. could anyone tell me what would be the solution to my problem. i will be thankful to you..

    You can go to icloud.com, open Mail, click on the gear shaped icon on the upper right and choose preferences, go to the Vacation tab and set up an auto response saying that the account is no longer in use.  Then go to Settings>iCloud and turn Mail to Off on your device and stop using the account.
    Incoming email to the account will receive your vacation auto response, and eventually the mailbox will fill up and no longer receive mail at all.

  • Hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    Finder > Preferences > General > Always open folders in a new window: uncheck

  • Could anyone tell me what is the minium requirement to run a java program.

    I am new to java. Could anyone tell me what is the minium requirement to run a java program. Thanks in advance.

    Lara1983 wrote:
    Could anybody give me a direct answer? I think the minium requirement to run a java program is JVM and Java API. Is this right?What does Google tell you?
    BTW in order to get a direct answer, one must ask a direct unambiguous question. Are you asking for the minimum software or hardware requirements to run an application developed in Java or to develop an application in Java. What environment? Details are important and again Google is an interactive search engine, try it!
    Mel

  • I recently purchased a shutter release remote for my IPAD camera but the cord is only three feet long.  I purchased a 3 banded AV extension but it doesn't work.  Can anyone tell me what the correct extension cable is and where I can find one?  Thanks.

    I recently purchased a shutter release remote for my IPAD camera but the cord is only three feet long and I need an extension cord.  I purchased a 3 banded AV extension but it doesn't work.  I have been told that I need an extension cord that has AV and Mic to enable the remote shutter release to work with the extension cord.  Can anyone tell me what the correct extension cable is and where I can find one?  Thanks.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Could anyone tell me what is a senior member in a coherence cluster?

    Hi all,
    I am problem finding the definition of Senior member in coherence documentation.
    Could anyone tell me what is a Senior member in a coherence cluster?
    Could we configure which server is Senior? How?
    Thanks and Regards,
    NB

    Hi NB,
    a senior member of a clustered service (there is one for each service) is the member which has special role in deciding service membership related issues. There is always one (usually the oldest living member), if it dies, then a new one is immediately elected.
    Since the cluster is also a service it also has a senior member, and that is referred to as the senior member of the cluster.
    You cannot configure which node is the senior for the cluster (or for any service for that matter), that is determined by the timing of the nodes being started, the senior will usually be the node started first unless they are started very quickly during cluster formation, at which point it can seem random from the outside.
    Some parts of the documentation hints that the distributed cache services have a storage-senior node, too, which is not exactly the same thing as a service senior, as you can start a distributed cache service in a way that storage-disabled members happened to start first in which case the senior member for the service would not be storage-enabled and there would be no storage senior since there are no storage nodes until the first is started. You can consider this as a service (storage functionality) within a service (distributed cache service), similarly to how clustered services relate to the ClusterService.
    Best regards,
    Robert

  • Can anyone tell me what this error means?

    Hi All
    The following error was encountered by a printer who has opened a supplied PDF in Acrobat, Saved it as a postscript and then run it through distiller server 6. Can anyone tell me what this error means and what sort of things can cause it?
    %%[ Error: syntaxerror; OffendingCommand: ! ]%%
    Stack:
    /PaintProc
    5.32031
    /YStep
    258.404
    /XStep
    [257.404 5.32031 258.404 5.32031]
    /BBox
    1
    /TilingType
    1
    /PaintType
    1
    /PatternType
    -mark-
    -mark-
    -mark-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    Something to do with software from wireless.umass.edu.

  • I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • I'm trying to update my iPad but it says I don't have enough available storage. But I have more than enough can anyone tell me what the problem is?

    I'm trying to update my iPad but it says I don't have enough available storage. But I have more than enough can anyone tell me what the problem is?

    Well, we can't as we don't know what you consider as "more than enough". The built is quite heavy (like it can be 800mb) then it needs to be extracted to be installed before everything unneeded gets deleted...

  • Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!

    Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!

    ravelvanto wrote:
    Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!
    Hi ravelvanto,
    mine too (iPad 3/WiFi) hasn't this features.
    Especially the flash can't be realized because there is a simple lack of a flash light.
    Why there is no compass, calculator (I'm using the Wolfram App instead), or the weather app etc. I don't know...
    Best regards, mackevin

  • I have just updated my iphone4 to iOS 5 and unable to restore my back up. The error message that appeared was "an error occurred while restoring this iPhone (-50). Can anyone tell me what the problem is?

    . Can anyone tell me what the problem is?

    I have had the same issue since day 1 of the ios5 installation.  I always hit "Cancel" and then the iPad eventually shows up again in iTunes.  Then a few hours later, I get the same message again.  Annoying, but I've not found a way around it.

  • HT1451 Can anyone tell me what the icon thingy's are at the top on the iTunes playlist

    Can anyone tell me what the little icon thingy's are at the top on the iTunes playlist

    Play and shuffle just to the right of the playlist name and over to the right an icon to change the view, unless you are looking at a different set of thingys?. Might help to post which version of iTunes. I'm using version 11.0.2.
    tt2

Maybe you are looking for