How to achieve multiple inheretence in java.I need an
example. how we achieve.
Answer Posted / sk.bilal ahmed
muliple inheritance is done with the help of interfaces
Multiple Inheritance
Class C extends A implements B
eg.,
package com.ack.learning;
import java.io.Serializable;
import java.rmi.Remote;
import java.util.Vector;
public class MultipleInheritance extends Vector
implements Remote, Serializable
{
public static void main( String[] args )
{
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is component in java with example?
What is actionform?
What is difference between j2ee and java?
What is java web technologies?
What does web module contain?
What is iso 3166?
What is the preferred size of a component in java?
What spring is in related to j2ee?
What is ebxml?
What is gridlayout in java?
What is content?
Which compiler is used in java?
Describe the file types *.ear, * .jar and *.war?
for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that??
What is the container?