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
How will you compute size of a structure?
What are different type of exceptions in java?
Can a class be declared as protected?
Is object a data type in java?
What is boolean used for?
What is meant by oops concept in java?
What is the function of static in java?
What is the nested interface?
What is the use of arrays tostring () in java?
What are adapter classes?
What are the important methods of java exception class?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Explain spliterator in java8?
Give me an example of array and linked list? Where they can be used?
Is 0 a prime number?