Can singleton class be inherited in java?
No Answer is Posted For this Question
Be the First to Post Answer
What does it mean to be immutable?
What is null data type?
How to retrieve data from database in java using arraylist?
What is difference between wait and notify in java?
What is the size of a string 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. */ }
Why singleton class is used in java?
Can we override the main method?
Why do we use threads in java?
What is the equal sign?
what is the main difference between string and stringbuffer? can you explain it with program?
Why should we use singleton pattern instead of static class?