Which of the following declaration is wrong?
int i=45;
float j = 45.0;
double k=45.0;
Answer Posted / pranav
float j = 45.0; <- This statement is wrong
Correct way is:
float j = 45.0f;
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is deque in the java collections framework? : java collections
What are maps interfaces in the java collections? : java collections
What are the different types of classes implemented in the set interfaces? : java collections
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What is an algorithm in java collection framework? : java collections
How do I find jre path in windows?
What do you understand by synchronization? Why is it important?
can u draw class/object diagram for ATM
Should we create system software ( e.g operating system ) in java ?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What is the enumerator of the java collection framework? : java collections
What are the queues in the java collection framework? : java collections
What is the use of hashcode in java ?
What is the use of the list interface in the java collection? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?