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 a class declared as private be accessed outside it’s package?
Difference between class#getinstance() and new operator ?
What are the special characters?
What is return used for in java?
What is an anonymous class in java?
why we use merge option in hybernate pls give a ex snippet
What is the difference between normal report & matrix report?
What is exception propagation?
Which number is denoted by leading zero in java?
What is the difference between class & structure?
Is void a data type in java?
How can we avoid including a header more than once?
Can a static member function access member variable of an object?
What are different types of multitasking?
What is public static?