I want to know the use of interface. we are declaring the methods inside the interface and defining the methods in the program. we can do the same without the interface also. then whats the use of the interface. Please send me about interface in deta
i want to know, like if a subclass of a class implementing Serilizable interface, don't want to be serialize, so how can we prevent this Serialization....
method overloading and method overriding
i want to different between method overloading and method overriding? 3 to 4 differences giv me plzz send me my mail firstname.lastname@example.org
Hi... plz give me brief intro of interface in java.. with an example ..how to implements it... i will be thank full .....thanks.........
we can`t create object for interface.. because all methods are abstract. but in abstract class we are instantiating object ... how it is??
regarding util packages
i am having doubt regarding util packages. and i want to know what is the difference between arraylist, vector and hash map , hashtable and iterator, list iterator, enumerators. where we will use and when to use this
regarding inheritance concept
what is the use of inheritance AND WHEN TO USE THIS?
what i understood is while using inheritance we can reuse the code. please provide me more informaton regarding this
what java is pure oop.
i want to known the use of interface with example
JAVA CONCEPTS NOT CLEAR
pleese sent me java nots and programs file
I Find it Better Website for java.
about use of interface
I want to know the use of interface. we are declaring the methods inside the interface and defining the methods in the program. we can do the same without the interface also. then whats the use of the interface?
In package with out inheritance(extends) how we use seperate class and how we access in main class.
Explain how run-time polymorphism can be achieved using interfaces with sample program?
abstract class and interface
When should we use abstract class?Why should we use abstract class?
when should we use interface instead of abstract class?
U R PROVIDDING VERY GOOD CONCEPT SUCH AS BLIND MAN EASILY STUDY HE CAN UNDERSTAND
More explaination for difference between Interface
Can i get a more detailed information for difference between Interface and abstract classes . Specially for point 4 with some coding example.
ur meterial is well ang good for learing java
Can you tell me difference between equals and == in Strings.And intern method With a good example.
send me complete details on java to my id
Compiler will give any error. See the following code:-
public class OT
public static void main(String j) throws Exception
TT t = new TT();
ObjectOutputStream oos = new ObjectOutputStream(System.out);
You cant undo Serialization
NO you cant do this. If you have this type of requirement then u have to use EXternizable interface and implement its writerExternal and readExternal method urself.
Interface and abstract difference
In the above statements "An abstract class must have at least one method with empty implementation."but this is a wrong statement even if it doesn't have atleast one method with empty implementaion we can declare a class as an abstract.I checked this
this is awesome really nice to understand
Is this correct ?
An abstract class must have at least one method with empty implementation.
Relpy to Jayant Singh
Basically we need understand why to opt an Interface or an Abstract Class.
Interface is basically a standard or acts as a plugin. If any class implements an inteface then all the methods present in the interface has to be defined in that clas
It is a good explanation for marker interface. Thanks!
please give the real time example for interface in java?
Can i get more details about Marker Interface
An abstract is not obliged to have at least an abstract method as has been stated above. A class can be an abstract class without having any abstract method. However, if we define an abstract method then the class has to be an abstract class
Definition of Abstract class
Dear Sir, in your comparison table column one you have written that Abstract class must have at least one abstract method which does not hold true exactly, an abstract class can be abstract even if it does not have single abstract method.
Any normal class can be abstract no necessary to have at least one abstract Method.All the method may be defined,all may be undefined or both can be as well as.
interface. Write short note on interface.
Please visit the following link:
INTERFACE how interface support multiple inheritance in java
interface What is marker interface ??
what is its use in java programming??
is this us in programming ??Explain is implementation with code
interface what the use of interface?
An interface is one... variables.Any class can
implement(inherit)the interface and make use of the methods(functions) and variables within it.
In java, multiple inheritance
interface why do we need interface in java..if it`s usefull for to obtain multiple inheritance in the sense how it gonna be achieved...and i can...)...the y we need interface...THis is question often i heard from my developer
for Interface in java? and want to know why they used interface instead of multiple inheritance? Thanks in advance
An interface is one which has abstract... method it will take.It creates complexity.Therefore java uses Interface
; Through interface, we can achieve the multiple inheritance.
Java does...interface What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true
pls tell me how interfaces reduce duplicasy in java..
about interface - Java Beginners
about interface can anyone explain to me the implementation of the given line
Set si=new HashSet();
Problem is that Set is an interface and HashSet is a class...
so how instantiation of interface is possible..or..what
In this section we will discuss about the interface in Java... interfaces.
Interface in Java is created for referencing something to other. To create an
interface in Java the keyword "interface" is used