Are inner classes used the same way as derived classes?

Hi,
I got myself a bit confused when I came across inner and derived classes.
However, I know that the syntax for both are different.
For inner classes:
class OuterClass {
class NestedClass {
For inheritance:
class ClassA {
class ClassB extends ClassA {
But I justed wanted to clarify if there's differences in the usage of either one?
Thanks.

Nat7 wrote:
Hi,
I got myself a bit confused when I came across inner and derived classes.
However, I know that the syntax for both are different.That should be a clue. They are entirely different things.
What this question suggests to me is that you don't understand what a derived class is or you don't understand what an inner class is.
Perhaps if you gave us your definitions of them we could fix this.

Similar Messages

  • Possible have the an inner class named the same as an outer class?

    Is there some workaround for this issue? I have some code generated by JAXB that won't compile because of a situation like this.
    public class Class1 {
        public Class1() { }
        public static class Quantity {
            public Quantity() { }
            public static class Year {
                public Year() { }
                public static class Quantity {
                    public Quantity() { }
    }When I remove the inner-most Quantity class, the compiler creates:
    Class1.class
    Class1$Quantity.class
    Class1$Quantity.Year.class

    Try a different name for the inner class. I'm sure there is no dearth of names.

  • There are 2 iphones using the same icloud ID , now one lost. how to find?

    Dear All,
    I have 2 iPhones, and few hours ago one of it was stolen . Could anyone help to tell me how to find the location of that lost one? while the thief is turned the my phone off ? pls ...

    If the phone is turned off, there is no way to locate it other than physically looking for it.

  • HT3819 I can use remote on my iPhone to connect with my iTunes library, but i can't connect to another computer using home sharing to access apple tv.  I have used the same access ID and password that is used for the apple tv.

    I can use the Remote app on my iphone to connect with my itunes library on my computer, but I can't connect to the Apple TV using home sharing with another computer in the house.  I am using the same ID and password that the apple tv uses to connect with the other computer.  Also how do I check what version of IOS that my iphone is using?

    Version:
    iOS Settings>General About (or it'll say when you hook it up to iTunes)
    Are all the devices on the same physical network?  I think you're saying all are set up using the same home sharing credentials.
    If you've not done so restart all devices and your router.
    If you can get any of the devices connected by ethernet to reduce the wifi burden that may help but to be honest I would not expect simply beoing on wifi to prevent devices/computers appearing in the list.
    Does the other computer have any firewall or port blocking software running?

  • How to fix the "Two computers using the same IP address" issue on the airport express

    I just bought an airport express and got dsl at my apartment, and I haven't been able to set up the wireless connection. My DSL works just fine but whenever I hook up the AX I get an error message saying that there are two computers using the same IP address on the network, but I only have one computer.
    I know this is probably a simple fix, but I've never had this issue when I set up the Extreme at my parents house and I haven't been able to find a thread on this.
    As of right now I have it set to Factory settings.
    Help please!

    This modem was designed to connect directly to a computer and you are trying to connect it to a router.
    Unfortunately, this is not a simple fix as both the modem and your AirPort Express will need to be configured differently to work together correctly.
    Connect the modem directly to your computer.
    Open up your browser and type the default IP address for the modem into the address bar. Check your documentation on the modem but it is likely 192.168.1.254
    That will bring up the configuration page for the modem.
    You may need to enter the modem access code which is on a label on the back or bottom of the device
    Look for an Advanced tab, then look for a tab labeled something like PPP Location
    Right now, you will see that "PPP is on the modem"
    Chance that to "PPP is on the computer or router"
    Click to save your new settings and the modem will restart
    If you ever need to get the modem back to its original settings, you will need to hold in the reset button on the back of the modem for 5-6 seconds and then enter in the default IP address to be able to access the settings on the modem
    Connect the modem to the AirPort Express with an Ethernet cable
    Open AirPort Utility on your Mac and click Continue to follow the guided setup to "Create a wireless network"
    You may be asked to "switch" networks when you do this. You want to switch
    Select the "Connect Using PPPoe" option when it appears
    Enter your user name and password with your provider. Leave the Service Name area blank. You want to always stay connected if you see that option
    Continue to follow the guided setup and Update to save settings
    Pull the power cord from the modem, wait a moment, then restart the modem
    Log on to the wireless network that you created during the setup and you should have an Internet connection

  • HT5824 Can use you use the same icloud & itunes account with 2 different cell phone numbers?

    Can I use the same icloud & itunes account with 2 different cell phones that have 2 different numbers?

    Yes. Two iDevices can share the same iTunes Library as long as both are configured to use the same Apple ID.

  • TS4036 I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    Welcome to the Apple community.
    You can only restore them from a Computer backup. This has occurred because you are sharing an iCloud account. ideally you should each have your own iCloud account, that way you can each manage your own mail, contacts, calendars, documents etc and avoid unintentional deletions and unwanted editing. If there is information you wish to share between you, this can be done with a secondary account.
    Having separate iCloud accounts, doesn't mean you have to have separate iTunes accounts, so whilst you keep your personal data separate, you can continue to share music, apps, books, TV shows, movies etc.

  • HT204053 my boyfriend and i are using the same apple account, i was wondering if there is a way for him to stop recieving txt msgs thats are sent to me through email accounts without removing him from my account altogether?

    my boyfriend and i are using the same apple account, i was wondering if there is a way to stop him recieveing txt msgs that are sent through email addresses without removing him from my account altogether?

    gemmie87 wrote:
    my boyfriend and i are using the same apple account, i was wondering if there is a way to stop him recieveing txt msgs that are sent through email addresses without removing him from my account altogether?
    Or remove you from his, it's moot because You and He are the same account, either get him his own (they are free) or live with this cozy but privacy compromised method.

  • HT204053 i used the same apple id for my iphone and my husbands now all our contacts and such are on both phones how do i fix this.  I dont need his contacts on my phone and the other way also.  Should i create a different icloud account for his phone?

    I used the same apple id for my iphone and my husbands now all our contacts and such are together.  How do I undo this?  Do i create him a different icloud account? 

    Yes, start with deleting your account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)
    In the next step, create a new account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)

  • HT201272 I have always had and used the same Apple ID, so where are the rest of the songs I bought from itunes? I've bought at least 400 songs and I only am being able to download 178. Where are the rest of my purchases?!

    I have always had and used the same Apple ID. I have changed credit card information on my Apple ID account several times though. Does that make a difference when downloading past purchases? I'm very angry at Apple and Itunes because I have been using itunes since 05/2005 and I do not have even close to the amount of songs and albums that I have purchased from itunes. If the credit card info does make a difference even though the account is the same one then itunes needs to make sure to notify users of this because I am not the only one who is wondering this same thing. I have numerous friends who i've talked to about this and they say the same thing, that they too have songs purchased in the past that have disappeared when trying to download past purchased items. It should not make a difference. $12 is $12. Especially since I have ALWAYS used the same account. If itunes does not change their ways, I will not be purchasing songs or anything else for that matter from them ever again. I will go back to buying CDs where I KNOW that it will always be with me and I don't have to deal with this. I will also make sure to find a better more reliable source to download music from and will make sure everyone I know and come in contact with knows what it is and how much better it is than itunes. There should be no experation date on the music I PURCHASE, nor should there be any other little loop holes that allow itunes to rob us of rightfully purchased products. What's the deal itunes?? 

    mannyace wrote:
    Thanks for the response.
    So I basically won't run into any trouble? I
    There should be no issues. Its designed to work like that.  You don't change Apple IDs just because you get a new device.
    mannyace wrote:
    Thanks for the response.
    Is there any chance that the phones can fall out of sync?
    Unlikely. But nothing is impossible.   Though I don;t see how that would happen. As long as both are signed into the Same Apple ID / iCloud Account they will be N'Sync. (Bad Joke)
    mannyace wrote:
    Thanks for the response.
    If I get a message or buy an app or take a photo on the iPhone 5, how do I get those things onto the iPhone 6?
    If you buy an App, you have 2 ways to get it to the iPhone6: If Automatic Downloads is enabled in Settings->iTunes & App Store, it will automatically download to the iPhone 6 when you buy it on the 5 and vice versa if you buy it on the 6, it will download to the 5.
    Alternatively, you can simply go to the App Store App->Updates->Purchased and look for the App there and download it. Purchased Apps will not require payment again. i.e They'll be free to download to the iPhone 6 once purchased.
    SMS Messages will sync over using Continuity as long as they are on the same Wifi network. Otherwise, restoring the iPhone 5 backup to the iPhone 6 will transfer all messages received up until the backup was made onto the iPhone 6.
    Images, can be transferred either through Photo Stream
    My Photo Stream FAQ - Apple Support
    Or any Cloud service you want such as Dropbox, or One Drive.
    mannyace wrote:
    Also, something i forgot to ask initially: Should I update the iPhone 5 to iOS 8 first or does that not matter?
    If you want the Continuity features as explained above you need to update the iPhone 5 to iOS 8. Otherwise its not all that important.

  • HT1848 How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    DaisyDoodle,
    The songs on your Shuffle should still be in your iTunes library.  That means you should just be able to connect your Nano to the same iTunes library and sync it just as you would with your Shuffle. There is no limit to the number of iPods, iPads, or iPhones you can sync to one computer, iTunes library, or account.
    As for preparing the Shuffle for your husband, just restore it via iTunes and then let him sync it to his own iTunes library or if its the same iTunes library, let him configure it to sync only his content.
    Here are instructions on how to restore the Shuffle if need be.
    http://support.apple.com/kb/ht1481
    B-rock

  • Me and my partner are currently using the same apple id and have no space left on our devices. We are currently waiting on the iphone 6 plus to arrive and don't know how to transfer all data to the new phones.

    Me and my partner are currently using the same apple id and have no space left on our devices. We are currently waiting on the iphone 6 plus to arrive and don't know how to transfer all data to the new phones.?

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • If two people use one computer, but we have separte itunes accounts, Apple ID, and icloud will my apps I get be stored in their account too since we are using the same computer?

    If two people share the same computer, but have separate itunes account, Apple ID, and icloud and one of them downloads an app will it also go into the other persons account since y'all use the same computer

    If you  have separate user accounts on the computer, then your downloaded apps are stored in your iTunes Library. See the following for dealing with having multiple users on the same computer: How to use multiple iPhone, iPad, or iPod devices with one computer.
    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • Iphone and ipad are with different carriers, can i use the same apple id on both?

    Hi all,
    I am having some difficulties with setting up my new ipad, i have a different telecommunications carrier for my iphone to my ipad, however my appleID does not allow me to enter another mobile number for my ipad.   When i set up the ipad to my appleID, it automatically registered my iphone # as my contact for messaging.   Is there any way to change the messaging number for the iPad yet still use the same appleID?

    Yes. I use the same Apple ID on four different iDevices. You can sync the contacts with iCloud or with your computer and have them on both devices. You can sync all of the apps as well. If the apps are not in iTunes on your computer - you can download them to the iPad with the same Apple ID. You can also restore the iPad from a backup of the phone to transfer your settings, app data and your contacts.
    iPhone only apps will be half size on the iPad screen but will still work as long - you can enlarge the size of the apps - but they will be pixelated on the screen.

  • Unlinking two iPhones that are currently using the same Apple ID

    My parents accidentally used the same Apple ID for both of their iPhones. How can I unlink their accounts and create two different, unique Apple IDs for each of their iPhones? And without losing what is currently saved to the iCloud (some of the info saved is for business). I appreciate any help. When I create a new ID for one device it messes up the other one. Thanks!

    Apple IDs are used in several different ways on an iPhone. You can have different Apple IDs for different functions. For example, if you use the same iCloud ID for both phones they will both be trackable by logging in to icloud using that ID, and they will both be protected by Activation Lock with the same ID. They will also both get the same email and back up to the same iCloud account. Or these can be different. Your choice.
    The iTunes & App stores can have the same or a different Apple ID. If they have the same then you don't have to pay for apps twice; once an app is purchased it can be used by all devices on that account (there are licensing restrictions that limit sharing to a single family all at the same address).
    Facetime and iMessage can have yet a third Apple ID. This is really a good idea, as it keeps everyone's messages private.

Maybe you are looking for

  • HDD for Mac and Windows?

    I have to deliver about 300Gigs of photo and video to a client. I was thinking with the cost of HDD being so cheap these days I will just buy a drive and overnight it to them. What type of drive should I be looking at. I am thinking USB transfer is g

  • Is there a way to block certain numbers from iMessaging?

    Is there a way to block certain numbers from iMessages, such as Smart limits with AT&T?

  • Need to change security questions

    I need to change my security questions via rescue email but I cannot locate any such options in the support areas. What do I do to rectify this problem?

  • Could not create JCOClientConnection

    Hello, I've created a WD application that use JCO connection. I successfully run it from the web dynpro content administrator. and the ping/test for the MODELDATA is successful. but If I copy the app. url an paste it to different browser, or if I try

  • JCAPS 5.2

    I have heard rumblings in the community about a JCAPS 5.2 release, in particular moving to a later release of netbeans for edesigner. Are these just rumors or fact? If so is there somewhere I can check out the status of the development? Cheers Tony