adspace


long d =10;int i =0;i=d; /// is this possible? If d is very
long number (10 digits or some thing) then?

Answer Posted / chaitanyaelluru

Yes,It is possibel through casting.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to find the whether a number is an Armstrong number or not?

1096


What is java string pool?

1079


Is minecraft 1.15 out?

1045


Realized?

2259


What is parsing in java?

1038


Write a program to print count of empty strings in java 8?

1084


explain different ways of using thread? : Java thread

1079


How to sort array in descending order in java?

993


Explain public static void main(string args[]) in java.

1073


What is a constructor overloading in java?

1123


Differentiate between static and non-static methods in java.

1125


What is an object in java and how is it created?

1138


What do you mean by an interface in java?

1100


What is the difference between equals() and == in java?

1037


How to create a base64 decoder in java8?

1135