Question
Can an interface extend another interface in Java?

Answers

Ans: Yes, an interface can extend another interface in Java.
This is what the code for something like that would look like:

// this interface extends from the Body interface:

public interface FourLegs extends Body

{

public void walkWithFourLegs( );

}   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q What skills have you acquired from your work experience/internships and part-time jobs?
  • Q Amalgam is an alloy in which the base metal is–
  • Q How block elements can be centered with CSS1?
  • Q How do you remove a swap space?
  • Q What TV newsman, often voted the most trusted man in America, died in July 2009?
  • Q How to avoid contamination of primary cells during preparation?
  • Q At times it is important to be hard headed about decisions you make, particularly when others don't like it. Give me an example of a time when you stuck by a decision even though it was under attack by others.
  • Q How can a fortimail administrator retrieve email account information from an ldap server instead of configuring this data manually on the unit?
  • Q In A School For A Student Out Of A 100 He Got 74 Of Average For 7 Subjects And He Got 79 Marks In 8th Subject. What Is The Average Of All The Subjects?
  • Q which state is est of Uttar Pradesh?
  • Q How do you define a function in a shell script?