Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Zend Discussions
Exam 200-710 Topic 6 Question 69 Discussion
Zend Exam 200-710 Topic 6 Question 69 Discussion
Actual exam question for Zend's 200-710 exam
Question #: 69
Topic #: 6
[All 200-710 Questions]
Which of the following code snippets is correct? (Choose 2)
A
interface Drawable {
abstract function draw();
}
B
interface Point {
function getX();
function getY();
}
C
interface Line extends Point {
function getX2();
function getY2();
}
D
interface Circle implements Point {
function getRadius();
}
Show Suggested Answer
Hide Answer
Suggested Answer:
A
by
Tarra
at
Jul 03, 2024, 12:28 AM
Limited Time Offer
25%
Off
Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Jeannetta
10 days ago
Wait, I thought interfaces were for storing user data. This coding stuff is way over my head.
upvoted
0
times
Buck
1 days ago
Interfaces in coding are used to define a set of methods that a class must implement.
upvoted
0
times
...
...
Tomoko
12 days ago
A and B, easy peasy. Interfaces are like the Highlander - there can be only one abstract method per interface!
upvoted
0
times
...
Emily
1 months ago
C looks good to me. Extending an interface to add more methods makes sense.
upvoted
0
times
Fannie
19 days ago
C is correct because it extends the Point interface and adds more methods.
upvoted
0
times
...
Janey
27 days ago
I agree, B is correct because it defines two functions without any implementation.
upvoted
0
times
...
Pearly
28 days ago
I think A is incorrect because 'abstract' is not a valid keyword for a function in an interface.
upvoted
0
times
...
...
Denna
1 months ago
D is definitely wrong. Interfaces can't implement other interfaces, they can only extend them.
upvoted
0
times
...
Miesha
2 months ago
I'm not sure, but I think C and D make more sense.
upvoted
0
times
...
Lacresha
2 months ago
I think A and B are the correct answers. Interfaces can only have abstract methods, and they can't inherit from concrete classes like Point.
upvoted
0
times
Dominque
7 days ago
So A and B are the correct code snippets.
upvoted
0
times
...
Vallie
15 days ago
That's right, they can't inherit from concrete classes like Point.
upvoted
0
times
...
Kattie
27 days ago
Yes, interfaces can only have abstract methods.
upvoted
0
times
...
Regenia
1 months ago
I think A and B are the correct answers.
upvoted
0
times
...
...
Noah
2 months ago
I disagree, I believe B and D are the correct ones.
upvoted
0
times
...
Wei
2 months ago
I think A and B are correct.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Jeannetta
10 days agoBuck
1 days agoTomoko
12 days agoEmily
1 months agoFannie
19 days agoJaney
27 days agoPearly
28 days agoDenna
1 months agoMiesha
2 months agoLacresha
2 months agoDominque
7 days agoVallie
15 days agoKattie
27 days agoRegenia
1 months agoNoah
2 months agoWei
2 months ago