Toggle navigation
Home
(current)
Selenium Training
Course Details
Free Videos
Support Forum
QTP UFT Training
Course Details
Free Videos
Support Forum
Appium Training
Course Details
Free Videos
Support Forum
Contact Us
(current)
All Courses
(current)
Login
(current)
Avail Discount
Name
Email
Phone Number
Tools
Selenium
QTP/UFT
Appium
Enroll Now
Home
Forum
Selenium Forum
combination of Inheritance & Interface
combination of Inheritance & Interface
M
Posted on 19/07/2016
[u:1mhkhax2]Option 1:[/u:1mhkhax2]
Public class A extends B implements C {
}
[b:1mhkhax2]when tried with this logic, it worked fine. All methods in class B + methods in Interface C are displayed in Class A.[/b:1mhkhax2]
[u:1mhkhax2]Option 2:[/u:1mhkhax2]
Public class A implements C extends B{
}
Error message: Syntax error on token "extends", .expected
can you please share your ideas for this error message in option 2
M
Replied on 20/07/2016
extend should come first. that is how java is build.