Can you place more than one class in a source file?

If so how is this done because I get the following error when I try to.
IPHunter.java:100: class Arguments is public, should be declared in a file named Arguments.java
public class Arguments {
Thanks in advance

When having two classes in the same file, only one should be public, and the file should be named with the name of that class.
Try removing public from the class Arguments, and if you have to use it from classes outside the file, you should have a file Arguments.java
Hope that helps,
Al

Similar Messages

  • HT1657 Can you rent more than one movie at the same time?

    Can you rent more than one movie at the same time on itunes?

    I think Justin is correct and you should have statistics in place and a reasonable partition scheme so that the optimizer selects the correct partitions rather than telling it what to do. You paid a lot for partitioning after all.
    There are some, possibly misguided, examples in the manuals showing how to create a view so you can delete from a single partition without specifying the partition criteria in the delete statement. This in effect turns partitioning back into DIY partitioning i.e. separate tables, union all and pretend its a single logical table using a view. But backwards.
    So to do what you want you just assume the partitions are separate tables, and then use union all to glue the ones you want back together.
    select * from sales partition (sales_q1_2000)
    union all
    select * from sales partition (sales_q1_2001)
    union all
    select * from sales partition (sales_q1_2003)
    union all
    select * from sales partition (sales_q1_2004);It probably goes without saying that as well as making the expensive version of partitioning behave like the free alternative, there is the possibility that it will perform like it as well.

  • HT1420 Can you have more than one device with a different Apple ID authourized to the same computer

    Can you have more than one device with a different Apple ID authourized to the same computer

    I think you are using the same Composition Class on both project. On the properties tab, you can change this number (e.g.: EDGE-1637270).

  • Can you have more than one Skype name?

    I have registered a phone line and premium account to my Skype name. I would like one for work and one for home separately. Can you link more than one Skype name to one account?

    I think you are using the same Composition Class on both project. On the properties tab, you can change this number (e.g.: EDGE-1637270).

  • Can you have more than one iTunes account with home sharing, Can you have more than one iTunes account with home sharing

    Can you have more than one itunes account at one time with apple tv

    My understanding is that the home sharing is based off of being on the same Wifi.  So if someone brings their laptop to your house and connects to your Wifi and they have home sharing on they can connect so you can see his/her iTunes library on your iTunes. 
    I haven't tried this though.  We have two laptops at home, both using my iTunes account and I can see each other's iTunes library, which I'm guessing is what you're probably doing now.  I'd be interested to know if my thought above is true. 

  • Can you have more than one apple id under the same account

    can you have more than one apple id under the same account

    Stop using the same Apple ID for iMessage on these devices.  Go to Settings>Messages>Send & Receive (Receive At in iOS 5), tap the ID shown, sign out, then sign back in using a unique ID for each device.  (Or, just sign out and stop using your Apple ID for iMessage.)

  • Can you print more than one photo on a sngle page in iPhoto, as you can in Picasa?

    iPhoto printing--
    Can you print more than one photo on a single page in iPhoto, as you can in Picasa? Terrible waste of paper and time to do it one at a time!  I 've been away from Macs for several years ( I know, shame on me) but I thought I remembered more printing flexibility.  Help, anyone?

    Yes - select the photos and print - select the print size and paper size (be sure they will fit with some small borders) and click customize - in settings select multiple photos per page (the preview will reflect this selection) and print
    LN

  • Can you have more than one movie per page?

    Hi, I am creating a web site and have some movie content on some of the pages. Can you have more than one quicktime file on each page? Reason I ask is that on one page I have put 3 movie files but only one shows up when I run the site online. I am not using .mac. The website is on grapeape dot co dot uk and if you look at the examples page you should see what I mean. I get one video that works and 2 large "Q"'s where the other videos were. Odd because it works locally. Any ideas? Many thanks.
    Ben

    Just noticed something. If you leave it until the first movie caches or preloads - the second one appears. Is there a way round this at all? Thanks. Ben

  • Can you use more than one email address on one account as to enable two or three devices to use imsg????

    Can you use more than one email address on one account as to enable two or three devices to use imsg as when i add new email address's in settings it just says veriyfying and nothing happens????

    If I read your question right, yes.
    My pad has two e mail addresses, and my phone has a phone number as well as a e mail address.  For each device you can add additional 'receive at' addresses in settings.
    Note, when you add a new address, apple will send an e mail to that new address that you need to respond to, to show that it is a valid address.  So look in the inbox of that e mail account for the verification e mail.  Note further, some spam filters think that the verification e mail might be spam, so if it does not show up in your in box, look in any spam file you might have.
    in my case, the verification e mail came within a few minutes of declaring the new address.
    The multiple address are useful if you have more than one device under your apple id, and want to be able to send stuff to that particular device.

  • HT4976 Can you use more than one emoji app?

    Can you use more than one emoji pp on the iPhone 5?

    All the emoji apps have been removed from the App Store because the Emoji keyboard is now accessible in all iPhones (since, I believe) iOS 5.
    Settings>General>Keyboard>Keyboards>Add New Keyboard.
    There is no need for a separate app.

  • Can you register more than one PayPal Account?

    Can you register more than one PayPal Account?

    Hi;
    You can register multiple PayPal accounts with Adobe FormsCentral. (However, you cannot register the same PayPal account in multiple Adobe FormsCentral accounts.) The most recently registered account appears in the PayPal account text box by default.
    Thanks,
    Josh

  • Can you host more than one site on one webBasic account?

    Can you host more than one site on one webBasic account?

    Hi,
    Basically not how this was intended for. 
    You'll have the option to have a partner account which you can create various sites within your portal where each site will be under its own plan. 
    Or you'll have an existing account which is designed for one site.  So I would say ideally no but you could add multiple domains to a site account under one plan, but then you'll need to share the same account (meaning one shop, one set of system messages, layout, etc). 
    Those are the options at this stage.
    Hope this helps!
    -Sidney

  • Can you have more than one Itunes account on one computer to keep your accounts separate?

    Can you have more than one Itunes account on a computer in order to keep accounts separate when buying music?

    Yes, you can have up to five iTunes Store accounts on any single computer system.
    Regards.

  • Can you have more than one account in iTunes?

    Can you have more than one account on itunes, use the same computer and login, but have to different account used for two separate devices

    Click here for options.
    (64683)

  • Can you have more than one user on the new ipad?

    Can you have more than one user on the new ipad?

    You cannot set up more than one user account on the iPad if that is what you mean.
    Obviously families will share an iPad, but they are really meant to be single user devices with one Apple ID only on the iPad. Multiple ID's on one iPad can become a bit of a hassle to deal with.
    There is no way to lock apps or email accounts so that can become an issue as well. If you use the built in mail app for email, whoever is using the iPad can read your email.

Maybe you are looking for

  • Add serial number in the report file name when using batch process model

        I would like to append a string containing the current UUT serial number to the base name of the report file. For example, uut_report.html becomes uut_report[SN000001].html. This setting is not available if I use NI BatchModel.seq as my process m

  • How to escalate Time Zone bug in iPhone Calendar to Apple?

    Hi, does anyone know how to escalate a bug in the iPhone calendar software to Apple? Time Zone support on the iphone which causes calendar items created in location "Kuwait" to be saved as "Gulf Standard Time" and not "Arabian Standard Time", which m

  • Playbook going to Europe- CAN WE LINK A USB WEBSTICK to access the internet?

    Can we hook up a webstick to the Playbook, via a USB dongle, to access the web?  Vodafone has a webstick that you can plug into a pc which gives you access to the web.  I would like to do the same with the Playbook.  Will this work? Any idea?  What h

  • Video Performance On 2009 Mini Before And After Snow Leopard

    When I ran Leopard on my 2009 Mac Mini, I could watch full screen video on one of my two monitors while surfing the web on the other. It wasn't flawless, I could see some latency issues, but it was entirely tolerable. With Snow Leopard, the full scre

  • Print data missing in Sales order Incompletion Log

    Hi Experts, Require your advice on the below query raised. I have a scenario where my Client requires the Missing data information when we click on the incompletion log on the Sales order. At present, the screen that I can see currently when I click