How to convert a string to long?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
Long l=Long.parseLong(String s);
long l1=l.longValue();
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we rethrow the same exception from catch handler?
What are conditionals and its types?
What are different data structures in java?
How do you call a reference in java?
Explain what do you mean by functional overloading in java?
How to perform quicksort in java?
What is the use of default method in interface in java? Explain
What is difference between path and classpath?
What is the difference between the ">>" and " >>>" operators in java?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
What is the use of using enum to declare a constant?
What is appletviewer?