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


Please Help Members By Posting Answers For Below Questions

What best practices should you follow while writing multithreaded code in java?

791


Can we create an object of private class?

755


Does every java program need a main?

772


What is an image buffer?

736


How does a for loop work?

753


What should I import for arraylist in java?

761


How do you check if a string is lexicographically in java?

741


What is singleton math?

808


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. (

1649


What is the statements?

832


Can a hashset contain duplicates java?

713


How many types of memory areas are allocated by JVM in java?

812


Why convert an applet to an application?

877


How we can generate random numbers in java?

888


What is a method type?

740