![]() Related Questions Latest Answer : An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate their data. Java does not support multiple inheritance, ... Tags : Inheritance Latest Answer : An interface is a specification of method prototypes. All the methods of interface are public and abstract. They are public because they should be available to third party vendors and they are abstract because their implementation is left for third party ... Read Answers (11) | Asked by : prakash Latest Answer : Can I know why it is so ... Read Answers (3) | Asked by : Venkat Tags : Inheritance one can use different groups of objects in program using collection frame work.for more detail readcollection frame work from java.util pack. Latest Answer : A collection is a group of object. its provide ways (using classes n interface)for fundamental alteration in the structure and architecture of many element in java.util pakageclasses>>>Collections,AbstractCollection,AbstractList,AbstractMap,AbstractSet,Arraylist,Arrays,Date,Calendar,TimeZone,Stack,StringTokenizer,HashMap,HashSet,HashTable,TreeMap,LinkedList,VectorINterface>>>Collection, ... Read Answers (4) | Asked by : vijay s dange Let say there are two interfaces like the followinginterface int1{int meth1();}interface int22{int meth1();}ok theni am implementing both of them in a calss as followsclass mycl implements int1,int2{}now as the rule says, if a class implements an interface it must complete its signature.now my questions is that if i define meth1(), as that method is in both interface, may i know how can i define both of that methods.please answer me Read Answers (13) | Asked by : Y Niranjan Prasad Latest Answer : All those answers are lies. JAVA was named as coffee was drunk the most when it was developed. And the bean name is JAVA. thats why u see Coffee Cup as its official symbol.Enjoy. ... Read Answers (3) | Asked by : ganesh Latest Answer : the main purpose of marker interface is to check the instance of that class whick is going to implement by using instanceof()method.but is reccomendedin programming code b'coz we know that why am doing it.like-----we implement cloneable interface when ... Read Answers (2) | Asked by : vikranth Marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface? Latest Answer : yes you can write marker interface.A marker interface is the one which doesn't have any methods declared in it e.g. Serializable etc.Here you go as marker interface...............interface thisIsAMarkerInterface{ }vinny ... Read Answers (5) | Asked by : khizer Marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface? One of the "clean" features of the Java programming language is that it mandates a separation between interfaces (pure behavior) and classes (state and behavior). Interfaces are used in Java
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||