can you create interface instance ?
Answer Posted / amit singh
it was just a bullshit you did man
you are creating jus he anonymmous class and is just treate
a subclass of the paricular inerface and also the override
mehod execute
learn java because prople like you just amajed those people
those don' know java
so try your self first thing that java is the whole thing
which realed to Object class not he object so learn it
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is finalize() function in java?
What are the important features of Java 8 release?
Can you have two constructors in java?
What is busy spin, and why should you use it?
What does math floor () do?
Is 0 true or is 1 true?
What is the purpose of interface?
Explain the selection sort algorithm?
5 Coding best practices you learned in java?
What is hasnext in java?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
Write a program to print all permutations of string?
Which method must be implemented by all threads?
Write a program to print fibonacci series up to count 10.
Can you override private or static method in java?