Comment on Tutorial - this keyword in Java By Jagan



Comment Added by : raziq

Comment Added at : 2011-12-18 16:06:09

Comment on Tutorial : this keyword in Java By Jagan
@pankaj because u need to cast it. when u add nums it get converted to integer which is bigger in size so u need to cast it to byte like this

byte c= (byte)a+b;


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. pls send me the brief description about jdbc conne
View Tutorial          By: vikas at 2011-08-09 07:07:53

2. great explanations.. some important words are miss
View Tutorial          By: Joshua Paul at 2015-04-14 03:43:44

3. About the javax.comm.* error, you need to include
View Tutorial          By: Nicolas Tourne at 2011-12-18 15:11:05

4. Very good !!
View Tutorial          By: SGK at 2009-04-26 23:53:44

5. Please help me i am getting following error messag
View Tutorial          By: Balaji at 2009-09-23 22:54:06

6. not work
View Tutorial          By: kkbb at 2011-03-12 03:52:06

7. nice tutorial,but if provided with the complete ex
View Tutorial          By: Prasant Kumar Sahu at 2013-01-07 13:17:20

8. im having errors in sPort.sendBreak in SerialConne
View Tutorial          By: mrrrc at 2013-03-18 08:54:50

9. i thnk exampleThread example is wrong - like billg
View Tutorial          By: oldman at 2011-09-24 12:32:33

10. @Palla Subramanyam : Your logic is correct, but SO
View Tutorial          By: Roopesh H at 2012-07-27 04:47:48