Comment on Tutorial - Type Casting in Java By Saravanan



Comment Added by : kishoree koli

Comment Added at : 2013-03-14 03:00:31

Comment on Tutorial : Type Casting in Java By Saravanan
Class TypeCasting
{
public static void main(String k[])
{
float sum=0.0f;
int a=10;

sum=sum+(float)a;
System.out.print("sum="+sum);
System.out.println("a="+a);
}
}


View Tutorial



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. Thank you for such a article. It is extreamly nice
View Tutorial          By: Ravi at 2011-08-23 10:04:14

2. Thanks alot ,,, it is really more the excellent n
View Tutorial          By: SaraFaqera at 2013-12-16 16:00:07

3. nice example..
View Tutorial          By: righana at 2011-07-19 08:46:50

4. I download this program, but I need how to run. wh
View Tutorial          By: prabha at 2011-06-21 04:52:42

5. Hi it is working fine .but when my server we imple
View Tutorial          By: mohan at 2014-11-28 10:57:22

6. finally! tnx google for taking me here :) my probl
View Tutorial          By: dorinn at 2009-04-02 10:32:40

7. i can understand easily what is isset but i am not
View Tutorial          By: sebestiraj at 2010-04-09 00:09:36

8. thankyou
View Tutorial          By: gomu at 2014-07-08 09:19:13

9. i want to open pdf file from sd card and i dont wa
View Tutorial          By: Karan Mavadhiya at 2013-01-30 12:02:30

10. sir i m getting chat server started bt how a clien
View Tutorial          By: ashu at 2010-11-02 08:13:00