There is no such thing. A type represents just one thing and one thing only. That is; an object of type X cannot represent an object of type Y.
You are possibly referring to union, however a union is not a multiple type, it is a type that can have one (and only one) of several possible representations. In order to know which representation is valid, you must embed the union within a class along with a type field. A better solution is for each unique representation to inherit from a common abstract base class.
Java does not support multiple inheritance.......
Java does not support multiple inheritance. It is done with the help of interfaces in java. a class can implement n number of interfaces, thus showing multiple inheritance. but a class cannot extend multiple classes in java.
Java does not support multiple inheritance
Java does not support direct multiple Inheritance. Harder to implement, not every language support it: C++ does, Java does not.
A Program in Java that spawns multiple threads is called a multithreaded program in Java.
Java does not have multiple inheritance, so no. Java can use multiple interfaces, though, with the "implements" keyword.
Java does not support multiple inheritance; a subclass cannot have more than one parent. Java compensates for this with interfaces. A class can implement multiple interfaces, but can only extend one class.
Java has a Communist government.
When you need the benefits of multiple inheritance while avoiding the DDD (Deadly Diamond of Death). Java doesn't allow multiple inheritance anyway.
Java does not allow the multiple inheritance of concrete classes, though it does allow a "hybrid" inheritance of one concrete class and multiple interfaces.
A method in java can declare only one return value and type at a time. For ex: a single method cannot have a code that returns a string in some cases and an integer in other cases. Java compiler does not let you do that. You can only have one return type for every method in java.
Steganography is good with JAVA because JAVA is a highly secured language. If we use steganography with JAVA, it will enforce multiple levels of security of data. form: RISHU