raju


{ City } bangalore
< Country > india
* Profession * java developer
User No # 83368
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 0
Questions / { raju }
Questions Answers Category Views Company eMail




Answers / { raju }

Question { 4801 }

What is emant by API?
is it related to java only or it is common for all OOPS
supporting language?


Answer

Java having huge no of predefined classes and interfaces we
cannot remember all of them. SunMicroSystems provided list
of classes and interfaces as an API for developers purpose.

Is This Answer Correct ?    0 Yes 0 No

Question { TCS, 6732 }

Why does java doesnot support multiple inheritance?


Answer

Every class in java must have only one root class (i.e
Object class) directly or indirectly.
If Class C extends Class A and Class B(this approach is not
supported in java ),here Class A will one root Object
class,similarly Class B will have Another root class.i.e
Here Class C is having two root classes....For this reason
java not supporting Multiple inheritance with respective
Objacts.
Every objects need some common functionalities which are
available in Object class.

Is This Answer Correct ?    2 Yes 0 No