Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is type casting?

Answer Posted / rakesh jain

Whenever u want to assign the value of one type variabel to
another type variable . in this case u must type cast
between them.
Generally there is two type of Type casting

1 Implicit Type Casting

2 Explicit Type Casting

example:=

short s=10;

int i=240;

s=(short)i; //Explicit type casting

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between throw and throws?

1047


What is the final blank variable?

1068


Are arrays classes in java?

966


What do you mean by checked exceptions?

898


What is a class variable?

983


How do you create a method in java?

941


What is the difference between super class & sub class?

1080


What is complexity and its types?

955


What is the benefit of inner / nested classes ?

935


Difference between start() and run() method of thread class?

995


What is integer valueof?

1042


What is a method declaration?

940


Is java a virus?

897


What is final keyword in java?

969


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2059