what is interface in java.

Answers were Sorted based on User's Feedback



what is interface in java. ..

Answer / jairaj singh bora

Interface is the key word that may be used to implement
multiple inhertiance in java.in the interface class only
function are define not the defination .defination are
defined in implements class.

Is This Answer Correct ?    5 Yes 0 No

what is interface in java. ..

Answer / ksrnaidu

INTERFACES are used to implement the multiple inheritance
in java we can't implement the multiple inheritance in java
directly like C++

Is This Answer Correct ?    3 Yes 0 No

what is interface in java. ..

Answer / swapna

Interface is a one type of class.All methods must be
asbstart.Declared all methods not define in that class.It
define in implemented class.

Is This Answer Correct ?    1 Yes 0 No

what is interface in java. ..

Answer / rakesh

This is just like model for implementation of class.That
means it describe the functions only no the definition.means
what class is made for.
for Eg. if we want to make chair it will provide the
functions to implement to get work done i.e( chair in our
case ).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is variable declaration?

0 Answers  


What is php and features of php?

0 Answers  


Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )

0 Answers   Amazon,


Tell me what does the scope of variables means?

0 Answers  


what is session_set_save_handler in PHP?

0 Answers  






What is the method to register a variable into a session?

0 Answers  


Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

0 Answers  


What type of headers have to add in the mail function in which file a attached?

2 Answers  


How long should a session last?

0 Answers  


What is the functionality of md5 function in php?

0 Answers  


What is the use of rand() in php?

0 Answers  


What is meant by urlencode and urldocode?

2 Answers  


Categories