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 an algorithm in java collection framework? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What are the interfaces in java collections? : java collections
What do you understand by synchronization? Why is it important?
Which sorting algorithm is used by collections.sort() in java ?
What are the types of the main implementing classes in the map interfaces? : java collections
What are the differences between the java collection and the java list? : java collections
What are the different types of ways where you can iterate over a list? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are maps interfaces in the java collections? : java collections
What is the use of the list interface in the java collection? : java collections
What is the difference between comparable and comparator in java.util pkg?
What is deque in the java collections framework? : java collections
please mail me the interview question based on java/j2ee
How is hashset maintained in memory by java ?