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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. My code runs smoothly. I have taken some steps for
View Tutorial By: Amit Shrivastava at 2015-01-25 13:48:46
2. thanks a lot ..
View Tutorial By: indra at 2009-03-25 15:40:03
3. it is working....great
View Tutorial By: mahesh maduranga at 2011-03-27 23:01:57
4. i have clear that notify and wait
but where
View Tutorial By: pp at 2009-06-29 06:12:13
5. Good explanation, Thanks.
View Tutorial By: bram at 2011-05-06 03:37:54
6. Hey, this is a great explanation regarding the dif
View Tutorial By: foam roofing at 2011-04-02 17:26:52
7. Can anybody tell the steps to go ahead with the ex
View Tutorial By: Sunpenn at 2009-10-12 03:57:58
8. can we do it this procedure by iteration i know th
View Tutorial By: sattar at 2010-05-03 03:00:20
9. Have you tried checking for the latest office/exce
View Tutorial By: Pat at 2010-01-07 04:54:31
10. estimado lo que sucede es que solo cuando es Strin
View Tutorial By: hormiga at 2013-01-07 00:11:54