Why not duplicate InnerClass name

package1;
public class OuterClass{
       public class InnerClass{
public InnerClass(){
System.out.println("THIS IS THE INNERCLASS OF THE OUTERCLASS");
package2;
import package1.OuterClass;
public class ProtectedInner extends OuterClass{
public static void main(String args[]){
ProtectedInner p = new ProtectedInner ();
p.method();
public class InnerClass{   // SHOULDNT THIS INNER CLASS GIVE DUPLICATE CLASS NAME
public InnerClass(){
System.out.println("This in the Inner class in class ProtectedInner ");
void method(){
     new InnerClass();
}What happens to the above inner class in class ProtectedInner class, dosent it have to throw a duplicate class name , since OuterClass also the same class
inner class "InnerClass" , and when extended to ProtectedInner, the InnerClass will be available automatically, now when i declare another.
Does this InnerClass behave like a overridden method. Shouldnt it throw class declared twice.??? pls clarify..

Please find the properly indented code
package1;
public class OuterClass{
       public class InnerClass
                  public InnerClass()
                        System.out.println("THIS IS THE INNERCLASS OF THE OUTERCLASS");
package2;
import package1.OuterClass;
public class ProtectedInner extends OuterClass
       public static void main(String args[])
            ProtectedInner p = new ProtectedInner ();
            p.method();
       public class InnerClass{   // SHOULDNT THIS INNER CLASS GIVE DUPLICATE CLASS NAME
             public InnerClass()
                  System.out.println("This in the Inner class in class ProtectedInner ");
             void method()
                   new InnerClass();
}I now hope you will be able to read it better

Similar Messages

  • "A duplicate file name was specified", why is this poping up and preventing me from downloading from iTunes.

    "A duplicate file name was specified", why is this poping up and preventing me from downloading from iTunes.

    Try looking for and/or deleting incomplete downloads from the the iTunes Media folder. Then try downloading again, so its not resuming or overwriting a previous download.
    Apple does have this article that talks about a very similar syncing error -> iTunes: Troubleshooting issues with third-party iTunes plug-ins.
    WTH.

  • Itunes will only sync a portion of my music since i have installed the newest update.  It keeps telling me it can not sync my Ipod due to a duplicate file name.  Any suggestions?

    I am trying to get some advice as to why my Ipod will not completely sync since I updated Itunes.  Itunes keeps telling me it can not sync my Ipod due to a duplicate file name?  It will sync some of my songs but not all of them.  Any thoughts?

    Most likely the iPod filesystem is corrupted, during a partial sync, that freeze due to a timeout.
    In My Computer, select the iPod, right click Properties->Tools->Check Now
    tick both Fix filesystem and scan.for bad sectors.
    This will fix the duplicate name error.
    Good Luck!

  • HT1451 Why do the song names and cd name not show up on the IPod Shuffle?

    Why do the song names and cd name not show up on the Shuffle?

    MysticChyk wrote:
    Why do the song names and cd name not show up on the Shuffle?
    Err this is no longer April 1st you know.
    The iPod Shuffle has never had a 'display' on which track names can be shown. See http://www.apple.com/ipod-shuffle/ if you want an iPod which does have a display on which you can see the tracks names and even the album cover art then look instead at the bigger and more expensive iPod Nano http://www.apple.com/ipod-nano/ or iPod Touch http://www.apple.com/ipod-touch/
    PS. The current iPod Shuffle even though it has no display on which it can show the track names can read them out loud to you using a voice-synthesiser this is the VoiceOver feature described on the iPod Shuffle product page I listed above.

  • HT1414 the iphone software update server could not be contacted.a duplicate file name was specified , please help as this is driving me nuts,does anyone know which file it could possibly be ?

    Hi could anyone help me out? my iphone 3gs keeps restarting itself every two minutes which i think is some kind of software issue,now there are a number of things i have done starting with putting in a new battery.when i charge the phone it resets itself every two minutes or so and the battery indicator stays at 4% so i decided to restore the phone on itunes (which is the latest edition) and when i connect my phone which i have put into recovery mode using the buttons, i get an error message saying :- the iphone software update server could not be contacted.a duplicate file name was specified. i have tried re-installing i tunes and that doesn't solve the issue and i have trawled through the program files to see if i could spot the duplicate but without success ,has anyone had the same issue and resolved it?

    An iPhone 3G cannot be updated beyond iOS 4.2.1...that's the end of the line for your phone.

  • Adobe Reader does not recognize file name (filename10.5.11.pdf) but does in Adobe Standard 9.  Why?

    I post documents to our Intranet site and found out recently that Adobe Reader does not recognize certain file names in PDF files.  For instance,  when trying to open a PDF file with the name
    filename10.5.11.pdf  in Adobe Reader, the web browser will not open the PDF and the display is blank.   When I'm using another computer with Adobe Standard 9, I do not have a problem opening the file.
    I would like to know if anyone else has had a similar issue and why Reader will not recognize the file name and Standard does.

    The version is Adobe Reader 10.1.0    I will request the latest version
    and let you know if that fixes the problem
    Actually I had changed the name of the file so our associates could access
    the file (changed the  .  to a hyphen)  It still made me wonder why Reader
    wouldn't open it at that time.
    Thanks again for you assistance and I will let you know if this resolves
    the  issue.
    Regards,
    Susan
    From:   Ankit_Jain <[email protected]>
    To:     SusanPleso <[email protected]>
    Date:   10/19/2011 12:56 AM
    Subject:        Adobe Reader does not recognize file name
    (filename10.5.11.pdf) but does in Adobe Standard 9.  Why?
    Re: Adobe Reader does not recognize file name (filename10.5.11.pdf) but
    does in Adobe Standard 9. Why?
    created by Ankit_Jain in Adobe Reader - View the full discussion
    Hi Susan,
    Thanks for providing the information.
    Could you also let me know what is the exact version of Adobe Reader on
    your system. You can check the same y clicking on Help > About Adobe
    Reader X.
    In case its not 10.1.1, please try updating to the latest version and see
    if the problem persists.
    Also, does any other PDF with a different filename open in Internet
    Explorer correctly?
    Thanks
    Ankit
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3979020#3979020]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3979020#3979020]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • PhE11: No possibility to sort my pictures by file name !  Why not ?? (Like in PhE 9)  Tha

    There is in PHE 11 Editorno longer a possibility to sort my pictures by file name !  Why not ?? (Like in PhE 9)  That creates a big problem working with my thousands of files !

    dear Brett N
    I am a new macbook user forced to give up Digital Image Pro (winXP), and looking for a photo program that sorts BY NAME. REPEAT BY NAME.
    I was ready to purchase PSE11, but luckily I read this forum and saw that in your infinite wisdom you spared every expense and removed this function.
    I have no need for face recognition, type of photo, etc.
    Should I abandon 15 years of files all sorted by where they were taken?
    I think not. For you to do this to previous owners shows a blatant disregard for them.
    I will look elsewhere and not to a Photoshop product.
    Should you provide an update that corrects this I would consider installing it on my 2 new Apple machines. Hurry though......

  • TS3833 I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    Right click the filename that won't download and selsct 'Get Info'. Look at the file path, does it have a //?// in it? That is a problem with Amazon downloads that prevent iTunes from finding the file. Use 'Add Folder' to add the album to your library and try syncing it again

  • Why is my screen name not displayed?

    Hello,
    When I signed up for the community forums I selected a screen name but my full name, not screen name, shows up when I post a question. I don't see full names displayed for any other users, why does my full name show up? How can this be fixed?

    Your full name shows only to you; we see your screen name of packetstar.
    Use the drop-down next to your user name at the top of the page and select Edit Profile, then Your Profile and Privacy tabs if you want to tweak your settings.

  • "duplicate member names within data preview are not currently supported"

    When I clicked "Preview Data" it altered "duplicate member names within data preview are not currently supported".
    What's that mean?
    And I can not find anywhere to set "duplicate member names" option :(
    I'm using EAS 11.1.2

    I am very sad to find that "You can change false to true but cannot change true to false".

  • My Ipod mini will not sync...A duplicate file name was specified.  What does that mean?

    My Ipod mini will not sync.  I get the message that A duplicate file name was specified.  What does that mean and how do I correct it so I can download my new purchases?
    Thank you

    Refer to my earlier reply, but here is a quick fix to the corrupted filesystem, which might work
    Open My Computer
    Right-click your iPod  -> click Properties.
    Click the Tools Tab -> Error Checking ->
    Check "Automatically fix file system error"
    k Start.
    Let the scan complete, eject your iPod and reconnect.
    Good Luck!

  • My Ipod Mini will not sync. I get the message "a duplicate file name was specified".  Does anyone know how to fix this?  I can't get my new songs.  Thank you

    My Ipod mini will not sync.  I get the message "a duplicate file name was specified".  Does anyone know how I can fix this so I can download my new music?  Thank you

    Was the iPod setup via iTunes on this computer?
    Setup via wifi?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method                 

  • When syncing iTunes reports "The iPod "name" cannot be synced. A duplicate file name was specified. ". the music is updated but all the sleeve imagary is not including deleting the existing images. How do I solve please?

    When syncing iTunes reports "The iPod “name” cannot be synced. A duplicate file name was specified. ". The music is updated but all the sleeve imagery is not including deleting the existing images. How do I solve please?

    Hello WGT52,
    It sounds like this error message is preventing you from syncing your content to the iPod. I would recommend the troubleshooting steps in the following article:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Why not invent a tablet with a i5 or i7 reader, DVI, USB ... who would wear the name of ipac or imad

    why not invent a tablet with a i5 or i7 reader, DVI, USB ... who would wear the name of ipac or imad

    Not sure why a tablet would need a Core i5 or a Core i7, particularly given that it would shorten battery life dramatically, but you can submit your suggestion to Apple here:
    http://www.apple.com/feedback
    The current iPad can output via DVI (using an HDMI to DVI adapter), by the way.
    Regards.

  • Map is not laoding street names why???

    map is not laoding street names why???

    The guy we hired to do maps there got lost & we haven't heard from him in months. Currently looking for someone else, so have patience....

Maybe you are looking for

  • ABAP server proxy-External Debugging

    I have a server ABAP proxy implementation in a R/3 where i m sending message from XI, I want to debug the the ABAP Proxy using External debugging (http breakpoint), Pls tell me if it is mandatory to: 1. login in R/3 (for debugging) using the same use

  • FICA - Security deposit interest calculation

    Hi, Currently our system calculates interests on deposit applied items up to it's clearing date i.e. interest gets calculated until deposit is returned to the customer. However we want calculate interest only until the date deposit is released. In or

  • File to idoc interface

    Hi SAP-Xi guru, can u explain the purpose of FILE TO IDOC ,IDOC TO FILE scenario.

  • I need help with consequences of failed Lion installation

    Because I need to install a software program that requires Lion or higher, I decided to upgrade my Macbook Pro from Snow Leopard to Lion today. I chose Lion rather than Mountain Lion because of the bad reviews I read about Mountain Lion... The instal

  • Drop down menu box query

    How do I stop the drop down menu box from always appearing when try to open anything?