Answer Posted / suresh aelidhe
Can some one explain about this case.
-> A is a super class and B extends from A.
-> java.lang.Object is super class for all classes.
now in this case B extends from A and B extend from java.lang.Object(because is default super class) then it is multiple inheritence right?
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is entry set in java?
Why do we use variables?
What is the use of keywords in java?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
What are white spaces in java?
Do I need java on my pc?
Is java ee a framework?
What is an object in java?
According to java operator precedence, which operator is considered to be with highest precedence?
What is an argument in java?
What is method overloading with type promotion?
What is covariant return type?
Is array a class in java?
Explain garbage collection in java?
How do you create a null object?