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 interfaces in java collections? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the considerations to be made in case of loops in java ?
What is the Spring2.5 MVC Navigation flow?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is iterator in the java collections framework? : java collections
What do you understand by synchronization? Why is it important?
What are maps interfaces in the java collections? : java collections
What are the different types of classes implemented in the set interfaces? : java collections
can u draw class/object diagram for ATM
what is mean by hasing and maping in java platform and advantage?
What is the enumerator of the java collection framework? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is the use of hashcode in java ?
What are the different types of ways where you can iterate over a list? : java collections