tag:blogger.com,1999:blog-4796886846449158195.post5521773109764685219..comments2023-09-20T03:48:44.199-07:00Comments on Java Examples: source code to show the int literalsLaxman Ghttp://www.blogger.com/profile/11755286384905885095noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4796886846449158195.post-58970408045243643962014-03-13T05:34:27.882-07:002014-03-13T05:34:27.882-07:00char data type size is 2 bytes , we are assigning ...char data type size is 2 bytes , we are assigning into 1 byte of byte data type so it won't allow..It won't consider what value is it..it will check size of the data type.Laxman Ghttps://www.blogger.com/profile/11755286384905885095noreply@blogger.comtag:blogger.com,1999:blog-4796886846449158195.post-80866341323254898572014-03-04T15:01:32.647-08:002014-03-04T15:01:32.647-08:00In byte b=ch; why ch can't be assigned to byte...In byte b=ch; why ch can't be assigned to byte. why It can't covert 'b' into 98.Anonymoushttps://www.blogger.com/profile/13371841009602283460noreply@blogger.comtag:blogger.com,1999:blog-4796886846449158195.post-83524605641582166762012-04-25T00:32:38.082-07:002012-04-25T00:32:38.082-07:00because of Unicode. Every character have the unico...because of Unicode. Every character have the unicode..here that unicode is convert to int and showing usLaxman Ghttps://www.blogger.com/profile/11755286384905885095noreply@blogger.comtag:blogger.com,1999:blog-4796886846449158195.post-79502243088075031302012-04-19T12:03:33.584-07:002012-04-19T12:03:33.584-07:00how int i='a' answer is 97how int i='a' answer is 97dhttps://www.blogger.com/profile/16840576690755105134noreply@blogger.com