Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can have multiple answers Which of the following is true about interfaces in java. 1) An interface can contain following type of members. public, static,

image

Can have multiple answers

Which of the following is true about interfaces in java. 1) An interface can contain following type of members. public, static, final fields (i.e., constants) default and static methods with bodies 2) An instance of interface can be created. 3) A class can implement multiple interfaces. 4) Many classes can implement the same interface.

Step by Step Solution

3.51 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

Answer 1 3 and 4 are true An interface in Java is a type of class that contains only constants and abstract methods which are methods with no implemen... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Accounting

Authors: Joe Hoyle, Thomas Schaefer, Timothy Doupnik

10th edition

0-07-794127-6, 978-0-07-79412, 978-0077431808

More Books

Students also viewed these Programming questions