how an we achive multiple inhetitance in java using
interface..??
Answers were Sorted based on User's Feedback
Answer / sindhu
In Java Multiple Inheritance can be achieved through use of Interfaces by implementing more than one interfaces in a class.
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / sudhir
ya,use interface make 2nd class interface and use
implements keyword for inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does unicode support all languages?
what is the purpose of the runtime class?
Is null a keyword in java?
What is byte data type?
Explain Public static void main?
Name the method that is used to set a TextComponent to the read-only state?
How many objects are created when we create String class object using new operator?
How do you do a line break in java?
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;
Explain notifyall() method of object class ?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
Why is String immutable?