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 is nullpointerexception?

783


Can we return null in java?

858


Can you achieve runtime polymorphism by data members?

888


What is Garbage Collection in Java

857


Why doesn't the java library use a randomized version of quicksort?

771


What is the benefit of inner classes in java?

870


Why string is immutable with example?

749


I want to re-reach and use an object once it has been garbage collected. How it's possible?

797


What is a newline character in java?

812


What is the program development process?

764


What is class forname used for?

811


How many times finalize method will be invoked? Who invokes finalize() method in java?

805


Why does java have two ways to create child threads? Which way is better?

815


What is hasnext in java?

804


What are untrusted applets?

860