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 is an Ioc pattern? There are assemblies in .net for establishing this task, Whats the special in Java /j2ee technologies about IOC
what is the difference between checked and unchecked Exceptions?
What is the difference between comparable and comparator in java.util pkg?
Which interface does java.util.hashtable implement?
What are the considerations to be made in case of loops in java ?
Which sorting algorithm is used by collections.sort() in java ?
What is markup language?
Difference b/w >> and >>> ?
Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()
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.?.
What are the different types of features of the java collections framework? : java collections
What is the servletcontext listener and what is JspContext and page context pls tell in simple words.