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 are the classes in the java collection framework? : java collections
my interviewer asked me what technical specification you used how to answer that question
What are the different types of classes implemented in the set interfaces? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
Which sorting algorithm is used by collections.sort() in java ?
What are the main classes of the list interfaces? : java collections
What is the use of the list interface in the java collection? : java collections
What is iterator in the java collections framework? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What are the queues in the java collection framework? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
what is mean by hasing and maping in java platform and advantage?
What is an algorithm in java collection framework? : java collections
What do you understand by synchronization? Why is it important?
What is deque in the java collections framework? : java collections