Can I create any Marker Interface? If yes then how can I
use it???

Answer Posted / rama

In my view we can not create marker interfaces. with out defining an interface how will u implement it.serealizble have some predefined methods so called marker interface

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pillars of java?

487


How does arrays sort work in java?

598


Can a top level class be private or protected?

572


Difference between ‘is-a’ and ‘has-a’ relationship in java?

538


Which class should you use to obtain design information about an object in java programming?

645






Is an integer an object?

515


How can you avoid serialization in child class if the base class is implementing the serializable interface?

637


Can we write method inside a method in java?

522


How to Sort Strings which are given in List and display in ascending order without using java api.

3764


What is integer valueof?

639


How do you check if a character in a string is a digit or letter?

510


What is skeleton and stub?

587


What is dynamic binding(late binding)?

584


What is the difference between procedural and object-oriented programs?

526


Is there any difference between synchronized methods and synchronized statements?

582