What happens when you assigned a 'double' value to
Answer Posted / vinay kumar
Actually java doesn't have string type
there is only 'char' type.
Here String is a class (in java) ,
but i am saying one thing,
these comes 1 & if not 2 & if not 3
1) if in a line have float value that total conversion value
comes a float value.
2) if in a line have double value that total conversion
value comes a double value.
3) if in a line have long value that total conversion value
comes a long value.
|Is This Answer Correct ?||0 Yes||1 No|
Write a program to print count of empty strings in java 8?
What is the difference between the ">>" and " >>>" operators in java?
What is the purpose of static methods and variables?
When should you use arraylist and when should you use linkedlist?
What does serializing data mean?
Why spring singleton is not thread safe?
please send me hr interview questions in it industry
What is java regex?
Explain about interthread communication and how it takes place in java?
What is the difference between overriding & overloading?
Is stringwriter thread safe?
What is command line argument
Can you create an object of an abstract class?
What happens to the Exception object after handling an exception?
What are constants?