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 |
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 types of interface used in the java collections? : java collections
how to deploy the web application ?
What is the use of log4j and how to make use of that in a application?
what is filter ?
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 are the different types of features of the java collections framework? : java collections
What causes Out of Memory exception?
I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
what is jndi?