File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes virtual methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "virtual methods" Watch "virtual methods" New topic

virtual methods

Tamana Joshi

Joined: May 23, 2005
Posts: 21
hi all,
What are virtual methods in java?please explain?
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Could that be Abstract methods that you are interested in?

The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
Kashif Iqbal Khan

Joined: Dec 22, 2001
Posts: 13
In java every method is a virtual method unless
  • It is a static method
  • It is declared as final

  • Or in other words instance methods are "late-binded" while final and static methods are "early-binded"

    Kashif I. Khan
    I agree. Here's the link:
    subject: virtual methods
    It's not a secret anymore!