What are the names of interfaces that doesn't consists of
method/s ?
Answer Posted / priyavarzhni
Cloneable interface
Serializable interface
these are called marker interface.
Interface without any method is called Marker or Null
Interface
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can we override private methods?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What are passing parameters?
How will you get the platform dependent values like line separator, path separator, etc., ?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is anagram of a string?
Is main a keyword in java?
How do you add an element to a hashset in java?
What state does a thread enter when it terminates its processing in java programming?
What is the java reflection api? Why it’s so important to have?
What is the purpose of the file class in java programming?
What is codebase?
What is boolean used for?
How many types of string data types are there?
Explain the importance of throws keyword in java?