Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what are the purposes of native, transiant key words?

Answers were Sorted based on User's Feedback



what are the purposes of native, transiant key words?..

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

what are the purposes of native, transiant key words?..

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

Post New Answer

More Core Java Interview Questions

How does static modifier work?

1 Answers   Wipro,


what is difference between Exception and Error?

36 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


What is the difference between Abstract Class and Interface

8 Answers   Amdocs,


What exactly is methodology?

0 Answers  


What are "class access modifiers" in Java?

0 Answers   Genpact,


Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


Difference between linkedlist and arraylist.

0 Answers  


Explain about interthread communication and how it takes place in java?

0 Answers  


garbate collector(GC)?

4 Answers  


I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

3 Answers   KPIT,


Enlist few advantages of inheritance?

0 Answers  


Categories