Which of the following declaration is wrong?
int i=45;
float j = 45.0;
double k=45.0;
Answers were Sorted based on User's Feedback
Answer / shukla.swapnil
float j = 45.0; <=== this declaration is wrong
| Is This Answer Correct ? | 24 Yes | 5 No |
Answer / pranav
float j = 45.0; <- This statement is wrong
Correct way is:
float j = 45.0f;
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / rohit
by default it takes double.So we need to explicitly mention it as float
| Is This Answer Correct ? | 4 Yes | 2 No |
How many controlers are there in spring? Plz send me ans
"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
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 deque in the java collections framework? : java collections
How to implement or use the singleton class in java?
What is the use of the list interface in the java collection? : java collections
Runining mutiple tomcat server in a single machine is possible Yuo wil have to duplicate configuration with different port numbers
what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API?
what is hibernate ceteria ?
What are maps interfaces in the java collections? : java collections
Which sorting algorithm is used by collections.sort() in java ?
what is diff string and stringbuffer