What is file class and what is its purpose?
Answer / janet
The File class is used to create objects that provide access
to the files and directories of a local file system.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is anonymous class?
How does indexof work?
What does += mean in java?
How would overload a function based on return type?
What is natural ordering in java?
What is the same as procedures?
When finally clause is executed?
What is HashTable?
What are peerless components?
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. */ }
There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?
What is the use of singleton?