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 |
what are callback methods?
What is need of DAO? Write one simple DAO example?
How many controlers are there in spring? Plz send me ans
2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()
can u draw class/object diagram for ATM
0 Answers HCL, Zycus Infotech,
Which interface does java.util.hashtable implement?
what is jndi?
What are the different types of ways where you can iterate over a list? : java collections
What is java collection? : java collections
"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
What is difference between Application Server and Web Server?
What are maps interfaces in the java collections? : java collections