what are the purposes of native, transiant key words?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
When a method is marked with the native keyword. Then it
means that the method is implemented externally in a
non-Java language (more likely C/C++).
Native functions are used to perform operations beyond the
control of JVM. Native methods are by default not portable
unlike the Java programs.
A field that is marked by the transient keyword means that
during serialization of the class instance, that field will
be ignored and not serialized.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain
What is abstraction in java?
0 Answers Akamai Technologies,
What is mutable object and immutable object?
How do you use parseint in java?
What are the names of Component subclasses that support painting?
What variables are stored in stack?
What is not thread safe?
What are the core java topics?
Explain about object oriented programming and its features?
How to create com object in Java?
What is meant by main method?
What is hash table in java?