[5625] in java-interest

home help back first fref pref prev next nref lref last post

Interface as types

daemon@ATHENA.MIT.EDU (Siju Nair)
Tue Feb 20 17:17:58 1996

Date: Wed, 21 Feb 1996 01:43:03 +0000 (GMT)
From: Siju Nair <nair@BITS.soft.net>
To: java-interest@java.sun.com

My doubt is that suppose two class A & B inplements interface C. Now if 
we call create a object of interface C lets say c and call c.methodname, how 
will it know which method to call that of A or B.

Cheers:-)
Siju


_______________________________________________________________________________
Official Address :                                        Residence Address :

Distance Learning Programmes Division                 BF 1-C,New Bachealor Qtrs
Birla Institute of Technology & Science               BITS,Pilani
Pilani, Rajasthan 333 031                             Rajasthan 333 031
India                                                 India

Phone : 91-01596-42210
_______________________________________________________________________________

        		" Begin a Work to Finish it "

-------------------------------------------------------------------------------

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post