Which of the following declaration is wrong?
int i=45;
float j = 45.0;
double k=45.0;
Answer Posted / rohit
by default it takes double.So we need to explicitly mention it as float
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the main classes of the list interfaces? : java collections
What are the differences between the java collection and the java list? : java collections
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
What are the uses of the set interfaces in the java collections? : java collections
What are the types of java collections? : java collections
What is the use of hashcode in java ?
What are the different types of classes implemented in the set interfaces? : java collections
What are the different types of features of the java collections framework? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
what is mean by hasing and maping in java platform and advantage?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What is the use of the list interface in the java collection? : 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.?.