Total members 11895 |It is currently Wed Dec 18, 2024 9:23 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka



Go to page Previous  1, 2


why we should extend interface...anyway we are not going to not use the methods and fields from one interface into other interface..then why does interface extend other interface..if necessary the class can implement the particular interface..

just nw i've started learning java..pls sorry,if the ques is funny..but pls give the ans....




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

i think sometimes while you are design your software model you face a cases when you has one general interface that is used in many sub models which in behalf have interfaces extends that general interface.


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

For this message the author DrRakha has received gratitude : Bhuvi
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

  Related Posts  to : java interface example
 about Java IO-interface     -  
 Network Interface Adapter Info using Java APIs.     -  
 java abstract class,concrete class and interface     -  
 What is an Interface? !!!!     -  
 Implement an interface in php     -  
 List interface     -  
 how to implement an interface     -  
 Iterator interface     -  
 methods in ActionListener interface     -  
 how to write interface program     -  



Topic Tags

Java OOP






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com