Is java supports multiple inheritance? explain?
Answer Posted / samuelj/samsjjj@gmail.com
java does not support inheritance so we can use Interface
interface contains the abstract methods
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What best practices should you follow while writing multithreaded code in java?
Can we create an object of private class?
Does every java program need a main?
What is an image buffer?
How does a for loop work?
What should I import for arraylist in java?
How do you check if a string is lexicographically in java?
What is singleton math?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is the statements?
Can a hashset contain duplicates java?
How many types of memory areas are allocated by JVM in java?
Why convert an applet to an application?
How we can generate random numbers in java?
What is a method type?