Do i have this right?

public - accessible (visible) from any class anywhere in project
private - visible in same class
(none) - package visibility (all classes in this package have access)
am i missing anything here? Thanks

These are called Access Modifiers;
1. Public - can be accessed by any other class. If the keyword is missing, access to the class is limited to the current package
2. Private - can be invoked only by code in the same class
3. Protected - can be invoked only by code in a subclass or the same package
4.Static - is not an instance variable
5. Synchronized - acquires a lock when it begins execution.

Similar Messages

  • So do I have this right ...?

    I can keep my touch as it is by staying with iTunes 7.5 and firmware 1.1.2
    or
    I can partially upgrade by first going to iTunes 7.6, and then upgrading to firmware 1.1.3 - still free so far. I don't have to get the $20 apps at this point, but I'll have whatever bug fixes 1.1.3 gives. But then I can ...
    agree to pay $20 and get the apps downloaded. Is that right?

    I did the 1.1.3 update, and all it did was make the dock look ugly like the iphone "cheese grater". The only thing kinda cool was the new video chapter browser, but i could skip chapters in 1.1.2, so big deal.
    The really annoying thing was that in the settings>reset page it has "reset home screen layout" even though you can't change the order of the icons!
    Also, you can't save safari pages to the home screen without forking over the $20.
    I want back the sleek look of 1.1.2...

  • Having trouble with Mercury Engine, do I have this right?

    Ok, so after many months of looking for a replacement for Sony Vegas Pro we decided that the Adobe solution was the best option for our needs and bought a license for CS5 and two new machines for our video editing.
    The desktop is a poweful beast with the latest and greatest installed, and we also invested in a new laptop which was custom built for on the road editing. This laptop includes the GeForce GTX285M graphics engine but for some reason the Mercury engine within CS5 is not working with this card.
    Can someone explain why this is the case and what the solution may be? I am new to Adobe software so have I installed evrything correctly or is there something I need to install or change within the program to get the mercury engine working with the card. I have tried the usual route with the drop down for Renderer but it is greyed out.  Help?

    This laptop includes the GeForce GTX285M graphics engine but for some reason the Mercury engine within CS5 is not working with this card. 
    Can someone explain why this is the case and what the solution may be?
    Hardware acceleration doesn't work, officially, with any laptop GPU chipset at this time. Search around here for the "GPU hack."

  • When is Grid Control 11 due out ???? Let me see if I have this right......

    I have to install GC 10.2.0.1 (which uses an Oracle 10.1 database).
    Then I have to upgrade the Oracle DB to 10.2.0.3, by first installing a new 10.2.0.1 ORACLE_HOME and applying the 10.2.0.3 patchset.
    Then I have to apply the Grid Control 10.2.0.4 patchset.
    If I wait for the next release for Grid Control (11), how long will I have to wait?
    Another question. Can I install the 10.2.0.3 DB, then install Grid Control into an existing database and then run the grid control 10.2.0.4 patchset? What's the best approach?

    You can precreate a 10.2.0.3 database and then when you install GC, just choose the option to install on an exsiting database.
    Then patch GC to 10.2.0.4...
    No idea about 11g

  • HTMLPanel: evalScripts - Do I have this right?

    After much fooling about with the HTMLPanel, digging through
    this forum and other Google results on the topic, my understanding
    is that enabling the 'evalScripts' option will result in
    <script> blocks being executed when loading an HTML fragment
    into the panel BUT IT WILL NOT (for the sake of discussion)
    "include" a block of Javascript(s) that has, for example, a defined
    function used to handle an onClick event for a button within the
    HTML fragment?
    Gary Gilbert
    blogged
    on this topic nearly a year ago.
    So, first, is my understanding correct? And second, Is the
    workaround to link the script(s) to the primary page rather than
    within the HTML fragment?

    The HTML panel evals the found <script> in to the page
    where the panel has been found. If u include the functions in the
    script block of the page that the HTML panel is loading. There
    should not be any problem.
    And yes, u can also include the scripts in the primary page.
    Both should work.

  • Did I get this right?  About the two websites...

    Hello There,
    I think I have this right, but if you guys could follow me along for a minute....
    I want to have two websites.
    Right now I have built one site on iWeb but have not done anything else with it. When I have this complete I what to upload (with FTP) to a web hosting service (not .mac)
    The second site (I have not built yet) I want to upload to .mac. I do not have a .mac account right now.
    So, let's say I finish the first site today (for the web host service) if I load this to a file folder then upload with an FTP program this should be good?
    Then let's say a couple of days later I build another site on iWeb for a .mac account can I do this?
    Will this work or will I have to use iWebsites program to run two websites? Does anyone have my set up and use iWebsites?
    I run iWeb 08.
    Any help or thoughts would be great.
    Thanks,
    Mike

    Use iWebSites or Multisite to maintain two separate domain files for your websites like Mireille described. Then it's so very easy to keep the two apart and publish which ever one you want.
    OT

  • I need to be able to right click on a saved document and have the option to convert to Adobe PDF. I have the Abobe Acrobat Xl Pro and used to have this option until I had to create a new subscription. What do I need to do in order to have this option?

    I need to be able to right click on a saved document and have the option to convert to Adobe PDF. I have the Abobe Acrobat Xl Pro and used to have this option until I had to create a new subscription. What do I need to do in order to have this option? I use windows 7

    If you are New to Mac... you may also find these links of Value
    Mac 101
    http://www.apple.com/support/mac101/
    http://www.apple.com/support/switch101/     Switching from PC
    MBP Support
    http://www.apple.com/support/macbookpro
    Cheers,

  • I want to download a trial of in design, but it states i do not have the right system requirements? I am running windows xp, is this to old?

    I have been trying to download in design and it keeps thinking, thinking, thinking and then does nothing..
    So then i tried to go online and download a trial version from there and then it states i don't have the right system requirements, i am running windows xp, is this program to old? i dont understand as the system requirements online state that you can use windows xp, not sure whats going on.. Help please

    The latest versions of InDesign will not run on XP.  Here is a link to a page that lists the system requirements for most versions of InDesign.  As you will see CS6 will run on XP and is still being sold if you would like to try that out.
    Purchase CS6 products:
    http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html
    You can download the 30 day trial version of the software thru the page linked below and then use your current serial number to activate it after you make the purchase (if you do).
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • I have this icon on the top right of my screen that is a lock with like a circle and arow around it that wont go away, what does it mean?

    I have this icon on the top right of my screen that is a lock with like a circle and arow around it that wont go away, what does it mean?

    Here's the answer:
    https://discussions.apple.com/message/15098215#15098215
    https://discussions.apple.com/message/15622244#15622244

  • I have instaled Firefox on WinXp, and when a I try to open FF i get a mesage: C:/Program Files/Mozila Firefox/ firefox.exe The handle is invalid. How to resolve this? I have Admin rights

    I have instaled Mozila Firefox on a new Dell laptop witch runs Windows Xp Profesional (I have Administrator rights) and when i try to run Mozila Firefox i get the message C:/Program Files/Mozila Firefox/ firefox.exe The handle is invalid.
    I also tryed to install a previos version of Mozila but it's all the same. How to resolve this problem?
    Thankyou

    Do a malware check with some malware scan programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • You do not have security rights to perform this operation exception occurred in CreateComputerVariable method

    I am getting an exception near computerSettings.Put();Its throwing an exception as You do not have security rights to perform this operation..Can i know exactly when does this error occur..
    Details of Error:
    ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
    CauseInfo = "5";
    Description = "CSspMachineExtProperties: ERROR_ACCESS_DENIED: ";
    ErrorCode = 1112017925;
    File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\sspmachineextprops.cpp";
    Line = 958;
    ObjectInfo = "";
    Operation = "PutInstance";
    ParameterInfo = "";
    ProviderName = "ExtnProv";
    StatusCode = 2147749889;
    stack trace:
     at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
       at TestWqlManage.Program.CreateComputerVariable(WqlConnectionManager connection, String siteCode, List`1 variables, Int32 computerId) in /path/path/path
    ComputerVariable Method where exception occurs
    public static string CreateComputerVariable(WqlConnectionManager connection, string siteCode, List<ComputerVariableDC> variables, int computerId)
                try
                    // Get the computer settings.
                    IResultObject computerSettings = null;
                    IResultObject computerSettingsQuery = connection.QueryProcessor.ExecuteQuery(
                        "Select * from SMS_MachineSettings where ResourceId = '" + computerId + "'");
                    foreach (IResultObject settings in computerSettingsQuery)
                        computerSettings = settings;
                    if (computerSettings == null) // It doesn't exist, so create it.
                        computerSettings = connection.CreateInstance(@"SMS_MachineSettings");
                        computerSettings["ResourceID"].IntegerValue = computerId;
                        computerSettings["SourceSite"].StringValue = siteCode;
                        computerSettings["LocaleID"].IntegerValue = 1033;
                        computerSettings.Put();
                        computerSettings.Get();
                    // Create the computer variable.
                    List<IResultObject> computerVariables = computerSettings.GetArrayItems("MachineVariables");
                    foreach (ComputerVariableDC variable in variables)
                        IResultObject computerVariable = connection.CreateEmbeddedObjectInstance("SMS_MachineVariable");
                        computerVariable["Name"].StringValue = variable.Name;
                        computerVariable["Value"].StringValue = variable.Value;
                        computerVariable["IsMasked"].BooleanValue = false;
                        computerVariables.Add(computerVariable);
                    computerSettings.SetArrayItems("MachineVariables", computerVariables);
                    computerSettings.Put();
                    return computerId.ToString();
                catch (SmsException e)
                    Console.WriteLine("Failed to create computer variable: " + e.Message);
                    //throw;
                    //return e.Message;
                    throw e;

    Hi,
    What's the error when you create a computer variable manually?
    Please make sure you have give "Modify Resource" permission to this user. You could see it in Administration workspace -> Security -> Security Roles -> Full Administrator -> Collections -> Modify Resource.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have bought an iphone 5 from cash converters, I'm waiting for a sim to arrive from my provider. I have left the iphone on the last two days and both days it's turned its self off when I went too look at it. Is this right or could my phone be faulty?

    I have bought an iphone 5 from cash converters. I'm waiting for a sim from my provider to arrive by post. I have left my phone on and twice it has turned its self off, is this right or is my phone seem faulty? I haven't been able to try the phone out yet as I didn't have a small SIM card. I'm worried as to why it would be turned off when I didn't  turn it off.?.

    If it turns off again take it back it,s not your problem ask for a refund or replacement
    BSYDD Uk

  • I am trying to download the InDesign CS5.5 update and keep getting "Update Failed" "Please contact your Administrator if you wish to apply updates on your machine". I have done this and now have Administrator rights, but I am still getting the message. Ho

    I am trying to download the InDesign CS5.5 update and keep getting "Update Failed" "Please contact your Administrator if you wish to apply updates on your machine". I have done this and now have Administrator rights, but I am still getting the message. How do I apply the update?

    Direct Updates
    https://www.adobe.com/downloads/updates/

  • I did the recent update on my ipad 7.0.4 and now it keeps freezing up and can not use it. Tried reboot and works for a second then freezes right up again. Anyone else have this issue or know a fix?

    I did the recent update on my ipad 7.0.4 and now it keeps freezing up and can not use it. Tried reboot and works for a second then freezes right up again. Anyone else have this issue or know a fix?

    Madmonkey,
    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    Gaylefromnewhope,
    Seems like you tried this all ready and it didn't help.
    Next might be to reset all settings.
    Settings > General > Reset > Reset all Settings
    Note that when you do this you will not lose data but you will have to enter all passwords again.
    If that doesn't help you might tries a restore of your iPad using iTunes on the computer you normall sync with. Do a backup and save all data first. Or
    Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • I have a fairly elderly I Mac 7.1 (2.47 Ghz Intel Core Duo) operating OSX v 10.9.5. At the core level I find two Library folders, one within the System Folder and one by itself with the other core level folders - mostly same content. Is this right?

    iMac 7.1 (2.47 Ghz Intel Core Duo w/2GB memory) operating OSX v 10.9.5. At the core level I find two Library folders, one within the System Folder and one by itself with the other core level folders - mostly same content. Is this right or do I have a duplication problem?
    The system is slow.

Maybe you are looking for

  • Uploading CSS Style Sheet From Remote

    Morning all, Rather new to dreamweaver but I have setup up a remote host on my home pc and when I upload my site to my cpanel I use save to remote server to upload the file when I am happy with the page. I always get one error that says the css didn'

  • QuickTime won't install/uninstall

    At home I use a Mac as indicated. At work, I am running Windows XP Pro SP2. I've been trying to get the latest version of QuickTime to install. I get "A newer version of QuickTime is already installed. This installation cannot proceed while the newer

  • Unknown SQL eating CPU time and library cache locks

    Hello everyone, we are seeing a lot of activity when opening new connections to the database from PHP web server and the time is being spent on a SQL which in Enterprise manager is reported as UNKNOWN and selecting the GV$SQL view for this sql_id yie

  • Is the basic iMac able to edit 1080p? (21.5 inch)

    Hey guys, I'm choosing a new imac to buy because mine is from 2007!! I don't have a lot of money to buy a High end Imac so I'm thinking of buying the basic version but with the fusion drive. Will this be enought to edit 1080p video? I'm not a profess

  • MTS problem, excessive oracle processes in the OS part.

    Hi, yesterday I changed internet banking connections to MTS (shared server) So, I changed the system to mix architecture (dedicated & shared both) DB version is 10.2.0.3 OS version is AIX 5.3.5 Number of dispatchers are 2, each with 250 connections.