Answer Posted / sandeep sagala
Interface is used to get an 100% abstract class. By using
this class we cant create an object for this class. In this
there will be all the unimplemented methods only. No method
is implemented in this type of classes. The methods present
inside this interfaces are all static and public by default.
The attributes present inside this interfaces are public,
final and static by default.
Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
Can we have 2 main methods in java class?
What is the difference between yielding and sleeping?
What is the class in java?
Does sprintf add a null terminator?
What is an anonymous class in java?
How do you use nextline in java?
What are the difference between composition and inheritance in java?
What is a function in programming?
String class is defined under which package in java?
What Is Composition?
What is java regex?
What is data structure in java?
What is the symbol for space?
What is break and continue statement?
Why are the destructors for base class and derived class called in reverse order when the program exits