Advertisement
Nickname
matu
Registered since:
February 23, 2003
Short bio:
 
Home page:
 
Total posts:
1

Forum posts by utpal:

1 page [ 1 ]
Posted in Java Answers Forum, Feb 23, 2003, 5:48 AM
Hi all i had a doubt.Do interfaces inherit from the OBJECT class??I think no. For example ( Comparable is an interface ) .And we can have varibles of an interface in Java ,, so Comparable obj = new fruit();String na1 = obj.getName(); // Assuming getName() in in fruit obj.getName generates an error because Comparable is an inteface that can not...
1 page [ 1 ]
Advertisement