what are the purposes of native, transiant key words?

Answer Posted / ravikiran

native is the keyword used for methods to cll the methods
defined in a platform dependent language like c

transient is the keywrd used infront of varibles which will
restirct the process of serialization

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why stringbuffer is faster than string?

529


Is a class an object?

569


Does java support multiple inheritance or not?

593


Is string is a data type in java?

583


What is the meaning of flag day?

534






When will we use them?

582


What modifiers may be used with an inner class that is a member of an outer class in java programming?

526


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

1899


What is java used for on a computer?

503


What causes memory leaks in java?

483


What is the difference between a scrollbar and a scrollpane?

550


Can a class declared as private be accessed outside it’s package?

508


What are the differences between forwarding () method and sendredirect() methods?

615


Why does java does not support multiple inheritance? Explain

545


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

563