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

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. Artical is good but it is not clearly define that
View Tutorial          By: Rohit Saxena at 2010-09-02 04:00:11

2. please give some examples of postfix and infix.
View Tutorial          By: john mark at 2012-10-07 13:55:04

3. good
View Tutorial          By: dock at 2013-06-07 15:18:49

4. Helps very much. Thank you.
View Tutorial          By: Uwe at 2010-08-17 12:35:44

5. hi frnds help me please .javamail program not bee
View Tutorial          By: sella at 2011-10-05 18:33:22

6. plz send inheritance concept,how to use final,thi
View Tutorial          By: sobha at 2010-02-14 08:29:33

7. Have you tried checking for the latest office/exce
View Tutorial          By: Pat at 2010-01-07 04:54:31

8. hi..i can send 4 or 5 sms per mnt..is there any wa
View Tutorial          By: rahul at 2011-02-11 00:17:51

9. Good explanation, Thanks.
View Tutorial          By: bram at 2011-05-06 03:37:54

10. i want every important questions in .net 3.5 and j
View Tutorial          By: pawan at 2011-07-28 06:17:25