Results 1 to 2 of 2
  1. #1
    raghu is offline Member
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Default is overriding static method possible

    in some books i found that static method is possible for overriding ?how can we override a static method during compile time itself we found that which method is going to execute so the benefit of overriding is gone if we use it

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    raghu, Welcome to the Java forums.

    Please read the FAQ before posting again.

    Finally, please read the section on inheritance from the tutorials from Sun for finding the solution to your question.

    Thank you for your understanding and cooperation. See you around! :)
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

Similar Threads

  1. Replies: 3
    Last Post: 04-08-2008, 07:12 AM
  2. Local Variables for a static method - thread safe?
    By mikeg1z in forum Advanced Java
    Replies: 1
    Last Post: 11-16-2007, 01:06 AM
  3. Replies: 1
    Last Post: 08-07-2007, 05:05 AM
  4. Replies: 1
    Last Post: 08-01-2007, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •