Answer Posted / sadikhasan,meta
Java does not support multiple inheritance because it
creates a dimond problem.
if we want to implement multiple inheritance in java then we
use interfaces which support multiple inheritance.
e.g.
interface B
{
}
interface C
{
}
class A implements B,C
{
}
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are internal variables?
Does java isempty check for null?
How concurrent hashmap works?
What do heavy weight components mean in java programming?
Why are constructors used?
Does garbage collection occur in permanent generation space in jvm?
What does snprintf return?
Can we declare the static variables and methods in an abstract class?
What is a java list?
What are the features of junit?
What is jvm? How its run?
What is the difference between path and classpath variables?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is used of static keyword in java?
What is a protected method?