Why ABC's are more powerful 'interfaces' than interfaces

A simple answer as to what the value of Abstract Base Classes are is that
(1) They act like Interfaces, allowing for polymorphic abstraction of multiple implementations
(2) They allow for default implementations, but insist on derivation
For this question, please set aside any value that default implementations provide, and concentrate only on the 'interface'-like qualities of ABCs.
Why did sun decide to make ABCs more powerful as interfaces, than interfaces themselves.
Or... asked another way, in the following code snippet
public void doCoolStuff( ObjectOutputStream os, Fooable foo )
throws CloneNotSupportedException, IOException
    Fooable foo2 = (Fooable)foo.clone();
    foo2.changeMyselfSomehow();
    os.writeObject(foo2);
}If I said the Fooable 'thingy' has absolutely no implementation attached to it whatsoever, then, what kind of thingy is Fooable?

Functionally: A class can only extend one class,even
if the parent is an ABC, but it can inherit multiple
interfaces. public class Foo extends ABC1,ABC2
{} // won't compile
Yes that's the common logic. And yet Fooable
absolutely can not be an interface, but can be
an ABC.Interfaces can do X that ABCs can't do. ABCs can do Y that interfaces can't do. Which is more powerful?
This box is longer, but that box is wider. Which is bigger?

Similar Messages

  • Why does Verizion care more about $30 than keeping customers?

    My wireless contract is up on July 28, 2013.  I went to the store to upgrade our phones and renew our contract.  I received an email congratulating me on being such a great customer and I have worked hard to earn a free phone upgrade.  I go to the store, pick out our phones, the agent takes an hour to program the new phones and then tells me that we owe $150.00.  I ask why - he says it's the upgrade fee. The email I received didn't mention an upgrade fee, the sales person at the store never mentioned or advised us of a $30 fee for our free upgrade until after we picked out and he programmed our new phones.  When I called customer service and asked the supervisor "Is it more important to Verizon to collect the $150 upgrade fee than to keep me as a customer and earn monthly revenue from my wireless and Fios contracts?"  He gave a lame long winded response that started with "everyone else is doing it" and ended with yes.  So I asked him again "Is it more important to Verizon to collect the $150 upgrade fee than to  keep me as a customer and earn monthly revenue from my wireless and  Fios contracts?" - He said " yes.  It is more important to collect the fee than keep you as our customer."  I think this says it all...Verizon cares more about cares charging it's customer's extra fees than keeping us as customers.  And... Verizon...is "Everyone else charges" really a good reason for you to charge?  Remember when you were young asking your mom to do something and saying "Please everyone else is doing it" or getting into trouble and saying "Everyone Else is doing it"...what was the response?  The response was always.."What if everyone else were jumping off a bridge?"  Maybe if your customer service and sales people were less rude and you gave your customers more value for their dollar instead of more crap your long time customers would be looking elsewhere.  You want loyalty from your customers...you should try giving your customers a little bit of loyalty.  I will be moving our business elsewhere.

    Firstly, the upgrade fee has been around since April of last year. Sorry you didn't know about it, but frankly it's old news by now.
    Secondly, Verizon is actually charging you LESS than any other carrier would for an upgrade. AT&T's upgrade fee is $36, and Sprint's is all kinds of messed up and involves some sort of extra activation fee. So I wouldn't get all upset over the upgrade fee if I were you since leaving the company will cost you much more over time than just sticking with 'em.
    Thirdly, there's no real excuse for how that CSR acted towards you, imho no CSR should ever tell you that their company values money more than their customers. That in particular I would file a formal complaint against that rep specifically because that behavior is inexcusable

  • Why Apple products are more expensive in Europe than US?

    In Spain, the Iphone 5s cost around 700€, but in United States cost less 200$
    Why is more expensive here?

    Check the US price for an unlocked iPhone. The price you are looking at is the carrier price IF you sign up to a two year contract.

  • Why airport extreme no more powerful than frontier modem?

    set up new extreme as new wifi network, thought it would reach out farther than the Frontier router/modem

    You can expand a network by use of secondary wi-fi base stations, such as AirPort Express.
    Older models of AirPort Extreme had antenna ports so external antenna could be used, too.
    Not sure if any reason exists for that in most instances. There are other reasons for the signal
    to be limited, due to location, building materials in walls such as metal &/or concrete, or other.
    One of my older AirPort Extreme base stations with an antenna port was able to extend past
    some structural issue to expand signal to outdoors, and still provide a good indoor signal.
    http://www.apple.com/support/airport/
    Hopefully you can resolve the area coverage issue by use of additional hardware,
    or by placement of the wireless units where they are best able to serve an area.
    Good luck & happy computing!

  • Why Coffee is no more Coffee place any more?

    Hi Just checking out any fun rolling over here..But disappoiting from long time.
    Where are those days where every one put comments pulling legs having fun.
    All work  discussions. Seems to be time to say good bye to Coffee
    open a TEA Point
    Regards
    sas

    Hello SJ -
    Did you know that your name (Shekar) sounds like the Armenian word for "sugar"?  Perhaps that's why you were sweet enough to say such a kind thing in your post about me being "revered".
    Although in that regard, I have to tell you that if you ran the numbers, you would find that I'm more reviled than revered, by far.  Even my old friends Mark Finnern and Marilyn Pratt won't stop by to say hello anymore, ever since I posted a blog that irritated someone pretty high-up the food chain somewhere- heh heh heh.  Now, I'm just one of the forgotten "Moorsoldaten" of SAP.
    In any event, permit me to explain that I have absolutely nothing against 20-40 year-olds having fun, and I even understand (believe it or not) that there are interpesonal and cross-cultural benefits which can accrue from letting people have fun.
    The problem is that they're doing it here, instead of asking SAP for a Romper Room where they can have fun to their heart's content.   After all, that's how the Coffee Corner came into existence - a few of us who thought of ourselves as the "loyal opposition" suggessted to SAP that the "loyal opposition" needed a place away from the "spotlight" of the front page where they could express reasonable disagreements with SAP's more indefensible choices.
    So in all fairness, the fun-bunnies should do the same thing - ask SAP for a Romper Room, instead of trivializing this place to the point where its original purpose is no longer discernible.
    There is moreover, one reason why this is a more serious matter than might first appear.
    In particular, we all know that SDN/SCN has more  wonderful technologists and wonderful functionals than any company could possibly hope for.  There are literally dozens of technologists willing to blog at the drop of a hat on whatever new buzzword SAP is pushing this week, and even more functionals willing to blog at the drop of the hat on how SAP is introducing new stuff that will let them do the same things folks did 30 years ago, only "fancier".
    And all of these wonderful technologists and functionals are the stars of the show here at SCN/SDN - not to mention TechEds, Sapphires, InnoJams, etc.
    But who here at SCN/SDN is speaking for all the clients out there who don't care about what's "new and hot", and are simply wondering why a company that can invest so much money in newfangled buzzwords and gizmos can't invest a relatively much smaller amount in "doing the right thing" - namely,  bringing the fundamental ECC 4.6c - 6.0 code base into the 21st century?
    Personally, I always hoped that Coffee Corner would become the Forum for those who were willing to speak for those clients, since SCN/SDN offered no other place to do so without seeming unduly "negative" and "disloyal".
    But any chance of that happening certainly gets smaller and smaller the more this place comes to resemble a Romper Room, instead of a place where the "loyal opposition" can at least try to convince SAP to do the right thing for clients that it's basically been ignoring for a long time while it tries to prove it can "keep up with the Joneses".
    Anyway, glad you took the opportunity to reach out.   Best of luck to you in whatever you're doing and wherever your abilities and talents take you.
    djh

  • A more powerful iPad charger

    Hello all. I was wondering are there any 1st party or 3rd party iPad chargers that are more powerful or would allow the iPad to charge more quickly. I have been snooping around and could not seem to find one. The only one that seems to always come up is the 10W Apple Charger. Maybe I am not looking in the right places. Any help would be appreciated.

    iPad Charging
    "The fastest way to charge your iPad is with the included 10W USB Power Adapter....'
    See...  http://support.apple.com/kb/HT4060

  • More answered calls than offered calls in Webview report.

    Hi all,
    I encounterd a strange thing in Webview.
    How can it be that in an half hour intervall there are more answered calls than offered. ( See attachment)
    Thanks for your explanations :-)
    Greetings Chris

    The additional call might have been offered in the previous half hour and might have been completed in the current half hour. Thus, there will always be a difference in the offered and answered calls.
    In the attachment, the previous half hour period had 6 offered, however only 5 answered. The 6th call got completed in the duration from 10AM to 10.30AM, hence shown as completed task in the 10AM half hour report.
    You can verify and confirm this by using database query on the t_Termination_Call_Detail. Check for the number of calls offered from 9.30 to 10AM and check the start time and end time of the calls, you will get a clear picture.

  • How come although iPads are getting more powerful, the iOS apps from apple are so mediocre and just not that great? We spend all this money for the latest ipad and all we get is these $5 video and music apps from apple. Why create the iOS platform and onl

    How come although iPads are getting more powerful, the iOS apps from apple are so mediocre and just not that great? We spend all this money for the latest ipad and all we get is these $5 video and music apps from apple. Why create the iOS platform and only offer so so apps like IMovie and GarageBand ? While other developers are offering much better apps like pinnacle studio for video, Cubasis and Auria for music production, apple has not showed much growth in terms of innovation. While there's nothing wrong with making an app like GarageBand where "anyone " can make a song, how about something for real musicians or an app not so basic as it get for video editing? After spending 0ver $700 on an ipad I'd be willing to spend more than $5 for a better video or audio app.

    First, try a system reset although I can't give you any confidence.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Photos are more washed out in FireFox than Safari

    Hi. I've created photo pages in iweb, and when i view the pages in Firefox, the images look much less saturated/more washed out, than when i view them in safari. Any idea why this might be?
    the site is www.coutroulis.com then go to 'shots'
    thx

    Not all browsers support Color Management like Safari does. With FireFox, it can work, but is turned off in the default installation. Sites that look very nice on a Mac monitor with Safari can look very washed out on a PC with IE or FireFox (Safari for Windows does better).
    Here is a page that explains the concept pretty well (these issues were not a problem for me in the past as I used GoLive and now Dreamweaver, with graphics prepared by Photoshop):
    http://www.gballard.net/psd/golive_pageprofile/embeddedJPEGprofiles.html#
    I've found that having both browsers open to the same page makes it easier to see the examples properly.
    Note the colors in the chart about half way down the page. The chart is built with graphics that have color management information that tells the browser how to deal with it. Safari shows the named colors perfectly (the box with RED text is actually Red in color), Firefox does not (the box with Red text is actually Blue in color). This is an extreme way to show that some browsers are using Color Management info from the pictures on the page. Your photos have information that Safari is using, but not FireFox.
    The page has instructions on how to turn on Color Management in FireFox but you can't turn it on for everyone who comes to your site.
    The page is in depth, with opinions on how to avoid the problems at all by using the sRGB Color Space which is the default option when using Photoshop or Photoshop Elements and "Save For Web". "Save For Web" is also just about the easiest way to get great looking photo's at the smallest file size, for web page photo's.
    So you get three things from the Photoshop programs - Graphics load faster because they are smaller than the less powerful iWeb optimization, they often look better than other programs that just let you save as a jpg with a variable % quality level, and the sRGB Color Space used in the photo's works well in all browsers and platforms.
    Web Site Design has always been about compromise - quality, speed, and accuracy. If your site is only for you and some other Mac/Windows friends who are using Safari - No Problem, otherwise you might want to adapt as needed for better pages for a larger audience.

  • Is the Mini more powerful than the 21.5" i5 iMac?

    In need of a new home desktop for the family, media, projects, etc.  I have been doing a lot of research on the i7 Mac Mini and the 2.7Ghz 21.5" iMac.  All of the numbers actually suggest that the Mini is more powerful.  Does anyone have any further numbers or anecdotal info that suggests otherwise.  I don't want to necessarily search for a reason to spend more money but want to get the best future proofed machine while spending no more than $1400.

    The only issue with the integrated graphics is if are
    going to do things like advanced video editing, complex
    3D development work, or heavy duty gaming.  For use as
    a general purpose computer or home theater computer
    it will perform quite well.  It will also work quite well for
    any type of application that does any heavy duty number
    crunching.
    So, if gaming is a concern, just Google HD4000 and gaming
    and what sort of performance is seen and what sort of level
    of gaming you could expect to see.
    As a music/video entertainment center, go with the Mini for
    sure.   Personally, I am using an old 2010 Mini for that purpose
    and it handles any 1080p HD content I throw at it.  So the new
    ones should be more than adequate.

  • Why not reporting on DSO is better than Cube,DSO is more denormalized?

    Hi,
    As it is said that for better reporting response, all dataware house solution are denormalized. Normalized tables take more time in executing report.
    Then why not reporting on DSO is better than Cube?
    Cube is said to have multidimensional structure. But DSO has more denormalized data than cube.
    Please correct me..." Cube is not completely denormalized". It has links between fact table and dimension tables.
    Thanks !!

    Cube reporting is the part of standrad datawarehousing design. Please read kimballs DWH books for more details.
    Please help us keep the forums clean and open useful information only.
    For more information search on help.sap.com and you will get lots of material on this topic.
    Regards.
    Den
    Edited by: Dennis on Nov 2, 2010 10:57 PM

  • Why do we need more than one retained earnings accounts & what is the use?

    Hi FI Experts,
    Why do we need more than one retained earnings accounts, what is the precise use of two?
    I know the retained earnings account is used to carry forward the balances during the year end to the balance sheet and there by making the p&L A/cs balances as zero.
    I guess the second one is used for different valueations for example  as depreciation accounts for different valuations will have different retained earnings accounts.
    Kindly correct me if I am wrong and eloborate on the use having more than one retained earnings accounts.
    with regards
    Ramesh Y

    Hi,
    Well, separate retained earnings accounts are used for parallel financial reporting, it means when you need to report in accordance with, for example, local GAAP and IFRS or US GAAP at the same time. Several retained earnings accounts  are necessary when the company chooses account based approach for parallel reporting. (GL accounts are broken down into several groups, for example you use different accounts for IFRS valuation, for local GAAP and they are also shared accounts common for both principles.)
    m.

  • Why does it take more space for pictures to be stored in iPad than iPhone?

    Why does it take more space for pictures to be stored in iPad than iPhone?
    The same pictures in iPhone utilises half the storage space than in the iPad.

    Photos on the ipad should take up little  more space than It does on The iPhone because of the screen resolutions size.
    Keep in mind If the photos are being stored on the device by Photo stream they will Take up less Space or if The photo Are being store by itunes syncing they may take up a little more.
    A previous Discussion talks about This also
    https://discussions.apple.com/message/20031028#20031028
    Does This make Sense or would you like me To explain More?

  • Why do holidays appear more than once?

    Why do holidays appear more than once?

    I have the new iPad and iPhone 5
    both run on ios 6
    I have multiple holiday calendars on both devices
    Step 1: delete your gmail account and calendars go away
    Step 2: DELETE your icloud account under setting on iphone and select also delete on iphone
    Step 3: add Gmail and Calendar by following directions below (you will NOT get multiple google calendars)
    Step 4: go back under setting and sign up for icloud again and turn everythin you want on, ON, even Calendar
    You are done, no multiple calendars
    **I struggled for a week with this issue and researched online and tried other methods such as unchecking default Birthday icloud calendar, hard reset, uncheck holidays in Gmail, on iphone, none of it worked.....what worked were Steps 1-4 above!!!!)
    My iphone 5 is perfect now..no 20 of the same holidays in one day!!!
    By the way if you want multiple Google calendars to show up do it this way:
    First of you are a gmail user, do NOT use the default gmail sync option if you want ALL of your calendars from Google to show up, multiple colors etc); use MS Exchange, server address is m.google.com
    Then go to m.google.com/sync to sync your iphone calendar ON YOUR IPHONE BROSWER, you check mark the calendars you want
    Presto, your Google calendars -- all of them -- show up

  • Why does Magic Mouse use much more battery power than the keyboard?

    I have the Bluetooth versions of the keyboard and the Magic Mouse. I use the same rechargeable batteries in each. Yet the mouse has now come to the end of a THIRD set of AAs, while the keyboard still has 60% of its first set.
    Why? They are both constantly in use, so why does the Mouse drain batteries so much faster than the keyboard? Viz: the mouse about once a week (two, max), while at this rate, it will be another month or more before the keyboard drains.

    Actually I don't! I consider myself a 'power user' in that I will always use the keyboard first, and I learn keyboard shortcuts for nearly everything I do regularly.
    I would guess my use is 50:50 at worst?

Maybe you are looking for