2 Replies - 254 Views - Last Post: 07 November 2017 - 05:33 AM Rate Topic: -----

#1 droned  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-October 17

What goes behind definition of Data-Type

Posted 05 November 2017 - 07:35 PM

Hello,

I'm new to Java(Coding too) and I came across Data Types. short,int,long,boolean etc.. I do understand that these're primitive data-types. But what exactly is data-type. When we say data-type int is there any code behind that defines or accepts data of type integer? How is the relation defined on data behind scenes. I tried my best to ask my question clearly. Hope I made sense. Thanks for anyone who attempt to answer my question.

Is This A Good Question/Topic? 0
  • +

Replies To: What goes behind definition of Data-Type

#2 KYA  Icon User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3196
  • View blog
  • Posts: 19,226
  • Joined: 14-September 07

Re: What goes behind definition of Data-Type

Posted 05 November 2017 - 08:05 PM

The Java Language spec itself defines what each primitive type actual is:

https://docs.oracle..../datatypes.html

For some of these, it references specification for data types from the IEEE.
Was This Post Helpful? 0
  • +
  • -

#3 droned  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-October 17

Re: What goes behind definition of Data-Type

Posted 07 November 2017 - 05:33 AM

Thanks for your response Kya..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1