What is Marker interface in java? and what is clone?
Answer Posted / gaurav j
How can you serialize an object. The execution must be finished so that results can be serialized. But if execution is finished so will be data. Marking an object will tell jvm to hold data for specified operation and then mark it for garbage collection, just my thought. Please verify.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define jit compiler?
Can the interface be final?
Explain polymorphism citing an example.
Explain the difference between collection api and stream api in java8?
What is the use of a copy constructor?
how would you implement a thread pool? : Java thread
Why main method is static in java?
What are the advantages of encapsulation in java?
What is the use of runnable interface?
Explain the purpose of garbage collection in Java?
Can we define private and protected modifiers for the members in interfaces?
What are the rules for naming an array?
Explain the differences between static and dynamic variables?
What is difference between filereader and bufferedreader?
What is the basic of java?