answersLogoWhite

0

What do mean by interface in java?

User Avatar

Anonymous

∙ 15y ago
Updated: 8/18/2019

An interface in Java is like an abstract class, but there are no method bodies allowed in it and it has to be declared with the interface keyword. It is Java's way of getting around the Deadly Diamond of Death. Only abstract methods and constants are allowed in it.

User Avatar

Wiki User

∙ 15y ago

What else can I help you with?

Related Questions

In C plus plus Interface is also known as?

I guess you mean Java, there is no interface in C++.


Can you define variables in interface in java?

yes we can define a variable in an interface in java.


Can you create a constructor for an interface in java?

NO, we cannot create a contructor for an interface in java.


In the field of computers what does the term java interface mean?

In Java, an interface is a suite of methods that multiple different classes are able to implement. Interfaces are not assigned to any particular class. For example, multiple graphics classes can use the same interface to change their size and colour.


What is intrface in java?

interface is a list of methods which implements that interface


What is a tagging interface type?

A tagging interface type in Java is an interface that has not defined methods such as the java.io.Serializable interface.


What java interface must be implemented by all threads?

Runnable interface


Can you create an empty interface with no definitions?

Yes. This is a valid interface definition in Java: interface Useless {}


What would interface java be used for?

Interface Java can be used for a variety of tasks and commands such as .swf files, Java files, running scripts, as well as website video players for websites.


What is interface in java?

Interface is collection of abstract methods which has only declaration and no implementation


Can you compile interface in java?

In Java, you cannot compile an interface directly because interfaces themselves are not executable; they are meant to define a contract for classes that implement them. However, you can compile the interface along with the implementing classes. When you compile a Java program, the Java compiler generates bytecode for all classes and interfaces, which can then be executed by the Java Virtual Machine (JVM).


Can you create an object of interface in java?

maybe

Trending Questions
What does Enhanced reliability security clearance Credit check means you got this job and they want to do this check and they will sent even your resume to the government agency to check your workhist? Is it illegal to not let your kids celebrate or do anything that involves Halloween if they want to? What is ratio of 63 to 45 in simplest form? What is the bending equation? Where can one get tips on how to avoid bankruptcy? In what way does sentence emphasis and variety contribute to good writing? What causes the crackling sound we hear as wear a cardigan? How many 6 foot tables fit into a 2000 sq ft room? What is a person aged 70 years called? Does the mother get sole custody of children if never married to the father if they split up even though he is on one of the six kids birth certificate by Michigan law? Where did kiara bellen from Americas next top model go to high school? Which South Asian country has the best access to communication devices? Do baby swans learn how to swim? What is the valve adjustment for 5 hp Briggs engine model? IF you have a computer on a wireless network can you hook up your Xbox 360 so that the Xbox can get online with out hooking up to a router? Who Hit the First home run at PNC Park? What channel is NBC network on dish network in Texas? Why would you create a tenancy by the entirety? What are the release dates for SpongeBob SquarePants - 1999 Fear of a Krabby Patty Shell of a Man 4-1? Is it Better to go in fall for MS in Embedded sys. Elex.in US than in Spring?