Overriding and hiding a method.. the difference?

hello,
the text says that "...a subclass cannot override methods that are declared static in the superclass. In other words, a subclass cannot override a class method. A subclass can hide a static method in the superclass by declaring a static method in the subclass with the same signature as the static method in the superclass"
what does this mean? i don't see the difference between this overriding and hiding of the methods? is it just the concepts??
what's the difference when i have a non-static method in the superclass overridden by a non-static method in the sub class and when i have a static method hidden by a static method in the subclass?

over-riding means that you declare an implemenation of some method on the current class that over-rides the implemenation inherieted from your superclass. Over-riding the toString method to print customer data would be a good example- the implemenation on the current class will be invoked, instead of the superclass. Because static methods are bound to a class, rather then instance, they can not be over-ridden. Instead, you can only replace that method with a method of same signature and name. Maybe this code makes it more clear:
Object arg = MyClass.getInstance();
//the implemenation of MyClass.toString will be
//invoked if it is over-ridden, even though Object.toString
//is being referenced
arg.toString();But, static methods, like Class.method() and SubClass.method(), have no inherieted functionality- they are totally unique methods that simply share the same name. I'm not sure if this explanation makes it clear or not, but the operative point is, there's no functional relationship between static methods.

Similar Messages

  • Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are? Also when I upgrade does it have to be with a monthly membership or can I just purch

    Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are?
    Also when I upgrade does it have to be with a monthly membership or can I just purchase the product out right like you use to be able?

    You cannot "update" from what you have to any of the applications you mention. It will have to be a straight purchase or subscription at full price.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Lightroom is all about volume, and very light editing.
    The Photoshop Elements forum is at:
    https://forums.adobe.com/community/photoshop_elements/content
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I do not know where there is such a comparison table as you seek, but someone else might, or you can google.

  • I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshoo

    I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW041 ...   -------------------------------------- Summary --------------------------------------   - 0 fatal error(s), 1 error(s)
    ERROR: DW041: INSTALLDIR Volume D:\ doesn't exist.  -------------------------------------------------------------------------------------  System Requirements  and it will not install, It says cant find the path D: im not sure why because as far as I can see its set to install on drive C: which is where I want it!

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • Two fields about material in AFKO: PLNBEZ and STLBEZ,what's the difference?

    Two fields about material in AFKO: PLNBEZ and STLBEZ,what's the difference?
    correct answers will be rewarded.
    thanks in advance

    Hi,
    First of all AFKO is table for Production Order Master Data. So it covers all data related BOM , Routing etc. So In order to distinguish material field related to BOM & Routing  these two different fields are there in AFKO table.
    PLNBEZ is the field for material assigned to routing operation
    STLBEZ is the field for material which is part of BOM
    Hope this clears your doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Oct 8, 2008 8:22 AM

  • X1 Carbon model numbers 34442HU and 3444AZU - what's the difference?

    Hi guys,
    I'm ready to buy a new X1 Carbon (non-touch version) but I found two model codes for the same price and would like to know if there's any difference between them.
    They're model numbers 3444-2HU and 3444-AZU.
    I checked Lenovo's Maintenance Manual for this model and they do explain the differences between Dynamic Configure To Order (CTO), Custom Model Variant (CMV) and General Announce Variant (GAV) model numbers, but there's no clue as to what the actual differences might be.
    Any help is greatly appreciated as I'm anxious to order my new laptop!
    Cheers.

    3444AZU = i5-3317U(2.6GHz), 4GB RAM, 128GB Solid State Drive, 14in 1600x900 LCD, Intel HD Graphics, Intel 802.11agn wireless, 1Gb Ethernet, UltraNav, Secure Chip, 4c Li-Ion, Win7 Pro 64
    34442HU = i5-3317U(2.6GHz), 4GB RAM, 128GB Solid State Drive, 14in 1600x900 LCD, Intel HD Graphics, 1Gb Ethernet, UltraNav, Secure Chip, 4c Li-Ion, Win7 Pro 64
    Looks like the 2HU is missing 802.11 wireless. ???

  • I want to buy an ipad mini Wifi Cellular and use it in Central Asia,so there are two models: A1454 and A1455,what is the difference?

    I want to buy an ipad mini Wifi Cellular and use it in Central Asia,so there are two models: A1454 and A1455,what is the difference?

    Either will work fine in Central Asia as loge ad the carries support GSM (almost all do).
    One of the iPads will only work with the AT&T GSM) network if you are in the USA and the Other with the Virizon network (uses CDMA, not GSM/SIM) if you are in the USA

  • "Copy to..." and Destination tab, whats the difference ?

    "Copy to..." and Destination tab, whats the difference ? Why asking 2 times the destination of my import in the import page ? that's not very clear to me.. how does that work ?
    Thanks
    btw I don't like that much all these import parameters around the desktop, difficult to check everything imho, a simple list with option would be more clear probably. I can't see the benefit in this new import UI layout.

    Ah, you're looking at the big To button?  They both do the same job and when you update one, it updates the other.  The Destination panel allows you more detailed settings, but the big button at the top (which is usually just used in the compact dialog) allows you to navigate using the OS dialog and shows a list of recent folders.  Use whichever suits you best.

  • HT3696 How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    Sorry to reopen an old post, but I've just purchased a 2nd hand late-2013 iMac (or so thats what the seller said).
    I'm always sceptical though, and just wanted to know if there is a way to check if my iMac is indeed the late-2013 model that included Haswell?
    I've attached screenshots of the About This Mac section hoping it may help shed some light.
    Thank you in advance for your help!
    PS - I can't compare to the iMac specs link you posted above because its now showing the late-2014 models.
    <Image Edited by Host to Remove Serial Number>

  • Java Web Start and DeployDirector: What's the difference?

    I am the product manager for DeployDirector at Sitraka (now part of Quest Software). I'm NOT in sales; I'd simply like to provide you with some information.
    From talking with DeployDirector users and evaluators, and from my own discussions with the folks at Sun, I have discovered that there is great deal of confusion about the difference between Java Web Start and DeployDirector. I'd like to clarify this by periodically posting some information about the two.
    Though the products seem similar in concept, they are designed for different purposes. They both deploy, auto-update and manage the JRE for client-side Java applications, but beyond that, they are quite different.
    Java Web Start is ideally designed for applications deployed over the Internet, where application-provider trust is an issue. Why? The security sandbox guarantees that application can do no harm. (There's some good information about Java Web Start and sandbox apps on ScheduleWorld at http://www.scheduleworld.com/itsYourLife.html) Web Start's architecture simply consists of a client piece that interprets a JNLP file. Because of the sandbox and its simplicity, I believe JWS is best used for independent software vendors, independent developers, etc.
    Because DeployDirector is ideally designed for internal enterprise applications, it does not enforce the security sandbox. Trust is not an issue here, because internal users typically trust their internal IT group. DeployDirector's architecture consists of both a client and a server piece, which allows us to support more complex deployment and update scenarios (e.g., scheduled and optional updates) and applications management capabilities like rollback, reporting, exception monitoring, authentication/authorization out of the box. All of this is configured through the DeployDirector administration console.
    In some situations, DeployDirector may be unnecessary overhead. In other situations, Java Web Start simply does not provide enough capability and building in this into Web Start can be difficult.
    If you'd like more information, we have whitepapers and case studies (including one specifically about DeployDirector and JWS) available on our website at http://www.sitraka.com/software/deploydirector/
    If you'd like to discuss some of these differences, or if you have questions about DeployDirector, feel free to email me directly. (Or post here, of course.)
    Thanks,
    Sonal Champsee
    [email protected]

    Hi Gerald,
    Given what I know about your emnity towards DeployDirector (which is clearly illustrated in this thread: http://forum.java.sun.com/thread.jsp?thread=348061&forum=38&message=1446155 that was evidently a response to this article: http://www.javaworld.com/javaworld/jw-11-2002/jw-1122-autoupdate.html) I'm going to take a (pardon the expression) "don't feed the trolls" approach here.
    I'm simply re-iterate that JNLP, and its implementations such as Web Start and OpenJNLP, are designed for a very different set of users that DeployDirector. The differences in functionality between the two products reflect that.
    The enterprise has different requirements in a deployment mechanism for its internal, critical applications than software vendors and independant developers. DeployDirector addresses the requirements of the enterprise. Frankly, most of our recent customers only chose to buy the product after initially rejecting it and (unsucessfully) attempting to use JNLP and Web Start. Sometimes people only learn the hard way: different users have different requirements which are suited to different tools or technologies.
    Sonal

  • IWeb Gallery and MobileMeGalleries - what's the difference?

    What is the difference between these? So I have two sites gallery.me.com/[YourMemberName]and web.me.com/[YourMemberName]; can they be combined somehow? This is kinda confusing.
    So far I find iWeb to less than intuitive and designed poorly. Not the typical Apple easy to use software.

    MobileMe Galleries (gallery.me.com......) are created by iPhoto and the iWeb Galleries (web.me.com/.....) are, obviously, created by iWeb.
    You can embed iPhoto galleries in an iWeb page using the HTML Snippet button at the bottom of iWeb.
    You create an iWeb gallery by selecting an iPhoto album via the Media Browser pane.
    They are just created by two different iApps.
    OT

  • AE1200 and AE2500 - What's the difference?

    I have 2 Linksys adapters: The AE1200 and AE2500. Can anyone tell me the differences between the two? I know that the AE2500 can support 5 GHZ wireless, but I do not see much difference. Anyone can give some opinions regarding these two? Thanks everyone.

    the AE1200 is a single- band wireless adapter that supports 802.11b/g/n connections while the AE2500 is a selectable dual-band wireless adapter that supports 802.11a/b/g/n connections. to know more about these to adapters, click on the links below.
    AE1200 and AE2500 Frequently Asked Questions
    Key features of Linksys wireless-N adapters
    hope this helps!

  • T5400 and 5200 What's the difference?

    I previously had the old 2200 5.1 speakers but sold them to a relative and am looking to get some more speakers. Aside from the t5400 series having more power, I can't seem to find something telling me what the difference is. Anyone with knowledge able to give me some advice?
    BW

    Bjwolfe,
    Outside of power, the biggest difference between the 5200's and the T5400's is the speaker design. The design used for the front three speakers on the T5400's is a two way speaker design. This means that the front three speakers contain both a high range tweeter and a midrange driver. This gives a major improvement to the high end sound reproduction.
    Jeremy

  • Arch and Slack - What's the difference?

    I'm from the Ubuntu camp.  I've been using Linux for close to three years now and getting bored.  I desperately need something more complicated.
    My question is - what's the difference between Arch and Slackware?  I've used Slackware in the past.  I also tried out Zenwalk recently.

    Slackware requires more effort from the user. But you learn quiet a bit as the reward. It takes a different approach for package management. (varies on the package management tools you use). Slackware is less bleeding edge than Arch, as it focuses on a slower release schedule. (to stablise, I guess...But I do note that it pays off, as I hear stories of people upgrading from ver 9 to ver 11 without too much trouble).
    Arch strikes a balance between sufficiently difficult enough to learn from, but not too tedious or time consuming to maintain. Its straightforward. The key seems to be pacman and ABS. Personally, it feels like Debian, but faster and more bleeding edge. (With no politics and internal squabbles which affect the date of major releases).
    What drove me from Ubuntu/OpenSUSE to Arch, was that both those distros reminded me of Windows. *shivers*
    As in, they assumed you want "this and that" enabled and installed by default. So a default install of Ubuntu had alot of stuff I never asked for. (If I wanted HP drivers and Bittorent stuff, I'll install it myself!)
    There's also the fact (after trying Debian "Etch"), Ubuntu is really nothing more than Debian with changes to make things easier for the Linux beginner. Some joke this distro as "Ubuntu is an African word meaning: Can't install Debian". (In that respect, they are right)
    For me, I enjoy distros like Slackware, Debian, Arch, etc...Because they don't assume I want a bunch of apps I didn't ask for. As well, they don't challenge me but they don't make it really time consuming.
    Nothing beats a fresh clean base install, and building a system the way you want!
    I mainly stick to Arch because I like the way the project is going.

  • Openoffice 3 beta and devel -- what's the difference?

    There are now two different ooo3 packages in extra -- devel and beta. What's the difference? Bleeding-edge vs. stability?
    It also seems that the beta package takes the user configuration from ~/.openoffice/3/user, whereas the devel package uses ~/.openoffice3/user. Are there other differences?
    Can I just move the old files to the new profile?
    BTW, the beta package (at least) solves most of the problems I had with the previous ooo3 version (macros not found, etc.) -- thanks!

    The beta pkg is the latest recommended "Prerelease" for serious testing leading to the next stable release (beta+release candidates). It is based on forked source trees (some kind of a "branch").
    The devel pkg is based on the latest public developement snapshot (like "trunk"). Beyond that there are only custom patches and not yet integrates so called "child work spaces"(cws). It is just a playground for me to follow all changes to keep it compile and for users to test latest features and sure to early find new bugs. I know some Arch users are contributing to OpenOffice.org in various ways.
    I try to make it possible to install all varsions along not mixing each other. But afaik we have no control in what direction personal configuration will be stored. So it's always good to backup ~/.openoffice* before starting another version.

  • HELP! There are so many softwares and I dont know the difference between them :(

    I bought my mac less than one month ago and it says it has the software OS X (with a logo of an apple). Now can someone please tell me in detail whats the difference between Mavericks and all other confusing softwares?! I still dont have pages

    They all are OS X.
    OS X is the name of the operating system I've been using since 2001.
    Each new version gets a new name and a higher number.
    First version was 10.0 (Chettah) and it cost $129. 10.1 was free but 10.2, 10.3, 10.4 and 10.5 cost the same.
    10.6 (Snow Leopard) was the last version to ship in a DVD. It cost $29 as did 10.7 and 10.8 which were digital downloads.
    10.9 (Mavericks) is a free download and is installed on all new machine purchases.
    Apple has always included the iLife apps with each machine purchase. With the introduction of 10.9 the iWorks suite (Pages, Numbers and Keynote) are also included with a new machine purchase at no charge.
    Look in the HD / Applications folder for your iWork and iLife apps. You shouldn't have to download anything but updates.

Maybe you are looking for