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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of wrapper classes in java?

1075


Explain the difference between arraylist and linkedlist in java?

1027


What comes to mind when someone mentions a shallow copy in java?

1164


What is byte value?

1044


design an lru cache in java?

1049


Are arrays classes in java?

1107


What are the concepts of 'OOPS'?

1116


What is the main difference between java platform and other platforms?

1178


What is the difference between C++ and Java and your preferences?

1169


what r advatages of websphere? & how to deploy?

2260


Can we have 2 main methods in java class?

1068


how are methods defined?

1105


How do you remove spaces in java?

1085


What are the different types of collections in java?

1017


What is final keyword?

1238