About Question enthuware.ocajp.i.v8.2.2014 :
Moderator: admin
-
- Posts: 29
- Joined: Thu Aug 24, 2023 4:33 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
I see, thank you for your response, I was thinking about that but not sure.
-
- Posts: 2
- Joined: Mon Mar 25, 2024 4:54 am
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
I am pretty sceptical on that the oracle java exam would trick people who take a java-specific exam with a question about general programming (multiple inheritance of interfaces or classes) where java specifically is an outlier (does not support inheritance of multiple classes).
How was this question created? Is it from an actual exam or did you create it yourself?
How was this question created? Is it from an actual exam or did you create it yourself?
-
- Site Admin
- Posts: 10152
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
Not sure what is the issue here. Java does have multiple inheritance of type. Oracle tutorial page (linked above) also says the same. The option clearly writes and/or.
The questions in our questions are not exactly the same as in the exam but based on what is asked in the exam. Except the ones in Foundation test, which are more for getting the basics right.
The questions in our questions are not exactly the same as in the exam but based on what is asked in the exam. Except the ones in Foundation test, which are more for getting the basics right.
If you like our products and services, please help us by posting your review here.
-
- Posts: 2
- Joined: Mon Mar 25, 2024 4:54 am
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
As far as I have read the link you provided, it appears to me that this is the line you were referring to:
"he Java programming language supports multiple inheritance of type, which is the ability of a class to implement more than one interface. "
If this is indeed what you are referring to, it does not state: "one or more interface or class".
Therefore, it is my understanding that this possible answer is incorrect.
"he Java programming language supports multiple inheritance of type, which is the ability of a class to implement more than one interface. "
If this is indeed what you are referring to, it does not state: "one or more interface or class".
Therefore, it is my understanding that this possible answer is incorrect.
-
- Site Admin
- Posts: 10152
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
Point 1: Java supports multiple inheritance of type but only by letting a class implement multiple interfaces.
Point 2: Multiple inheritance of type (in general) can be achieved by implementing multiple interfaces or by extending multiple classes. Java allows only 1 of the two possibilities.
But it doesn't matter much because I think you understood the concept. It is a theoretical question only.
Point 2: Multiple inheritance of type (in general) can be achieved by implementing multiple interfaces or by extending multiple classes. Java allows only 1 of the two possibilities.
But it doesn't matter much because I think you understood the concept. It is a theoretical question only.
If you like our products and services, please help us by posting your review here.
-
- Posts: 46
- Joined: Sun Apr 21, 2024 10:43 am
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
Multiple inheritance of type includes ability to implement multiple interfaces and/or ability to extend from multiple classes???????????????
a class can extend multiple classes??
a class can extend multiple classes??
i code with Paul Allen's mix
-
- Site Admin
- Posts: 10152
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
Please read the discussion/replies above.
If you like our products and services, please help us by posting your review here.
-
- Posts: 46
- Joined: Sun Apr 21, 2024 10:43 am
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.2014 :
ok thank u i understand better the answear is tricky like and/or ..... i've read and but it's only or
i code with Paul Allen's mix
Who is online
Users browsing this forum: No registered users and 15 guests