Can an anonymous class be declared as implementing an
interface and extending a class?
Answers were Sorted based on User's Feedback
Answer / janet
An anonymous class may implement an interface or extend a
superclass, but may not be declared to do both.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / bindu
no.if the private class extends abstract class.then v cant
create object to that.
| Is This Answer Correct ? | 0 Yes | 2 No |
How many ways can we create singleton class?
What is singleton class in java and how can we make a class singleton?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is the default access specifier for variables and methods of a class?
Using callable statement how can you pass out parameters, explain with example?
What is a method declaration?
Why is the type for real numbers called double?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
what is the use of abstract class?
3 Answers Amdocs, Atos Origin, Invictus,
What are the classes of java?
Why for each loop is used?
What are operators and its types?