Arpit Mandliya
Posts: 190
Nickname: mandliya23
Registered: May, 2017
|
Arpit Mandliya is Java programmer working on Core java, Spring, Hibernate
|
|
|
|
Data types in java
|
Posted: May 27, 2017 11:03 AM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Arpit Mandliya.
|
Original Post: Data types in java
Feed Title: Java tutorial for beginners
Feed URL: http://feeds.feedburner.com/arpitmandliyasblog
Feed Description: A blog about java programming language and its frameworks
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Arpit Mandliya
Latest Posts From Java tutorial for beginners
|
|
Data types in java refer to type of data that can be stored in variable. As Java is strongly typed language, you need to define datatype of variable to use it and you can not assign incompatible datatype otherwise the compiler will give you an error. The compiler will give you an error with this message – “Type mismatch: cannot convert from String to int”. There are two types of data types in java. Primitive data types Referenced data types. Primitive data types: Primitive data types are those datatypes which are defined by java language itself. There are 8
The post Data types in java appeared first on Java2Blog.
Read: Data types in java
|
|