TRENDING NEWS

POPULAR NEWS

Use German Characters in Android 4.1

How do you change language settings on Facebook?

You can follow below mention step.Step 1:Step 2:step 3:step 4:step 5:all images credit:Computer Help, Tips, How-to's, and NewsFree Recharge Tricks, Offers, Coupons on Mobile & Software

What is the difference between an integer and int in Java?

int is a primitive type. Variables of type int store the actual binary value for the integer you want to represent. int.parseInt("1") doesn't make sense because int is not a class and therefore doesn't have any methods.Integer is a class, no different from any other in the Java language. Variables of type Integer storereferences to Integer objects, just as with any other reference (object) type. Integer.parseInt("1") is a call to the static method parseInt from class Integer (note that this method actually returns an int and not an Integer).To be more specific, Integer is a class with a single field of type int. This class is used where you need an int to be treated like any other object, such as in generic types or situations where you need nullability.Note that every primitive type in Java has an equivalent wrapper class:byte has Byteshort has Shortint has Integerlong has Longboolean has Booleanchar has Characterfloat has Floatdouble has DoubleWrapper classes inherit from Object class, and primitive don't. So it can be used in collections with Object reference or with Generics.Since java 5 we have autoboxing, and the conversion between primitive and wrapper class is done automatically. Beware, however, as this can introduce subtle bugs and performance problems; being explicit about conversions never hurts.if you want to learn More about java go for certification OCJP/SCJP ..while preparing for it you will learn different aspect of lang.if you want to test your java skillsu could refer to my own app for javaJava OCJP + - Android Apps on Google Playits is really use full to improve your java knowledge but if you don't know anything about java then dont go along with this app ,start with some standard bookBeginner:1. Head First Java, 2nd Edition2. Thinking in Java (4th Edition)3. Think Java4. Introduction to Java by Sedgewick5. Java in a Nutshell6. Core Java Volume I--Fundamentals (9th Edition) (Core Series): Cay S. Horstmann7. Java How To Program (late objects) by Paul Deitel, Harvey Deitel

TRENDING NEWS