Can I create any Marker Interface? If yes then how can I
use it???
Answer Posted / diya
public class abc implements Serializable
{
write your own logic
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are the pillars of java?
What is difference between static class and normal class?
Explain importance of finally block in java?
What are exceptions
Give me an example of array and linked list? Where they can be used?
Why singleton pattern is better than creating singleton class with static instance?
What is the platform?
What is a condition in programming?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is extension method in java?
Why do we use variables?
What are actual parameters?
What comes to mind when someone mentions a shallow copy in java?
Explain the significance of class loaders in bootstrap?
What are the files generated after using IDL to java compiler?