Answer Posted / arjun
It is a class without any name. It is used when we want to
have an encapsulation(i.e. want to use an object of a class)
only once and never required again. we combine the object
creation and class code in a interesting way.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Give the hierarchy of inputstream and outputstream classes.
What is difference between final and immutable?
Do we have pointers in java?
What is Recursion Function?
What are the legal parameters?
What is final modifier?
List some important features of java 10 release?
How is a structure different from array ?
What is a protected void?
How are this() and super() used with constructors in java programming?
How do you control extraneous variables?
how would you implement a thread pool? : Java thread
Describe different states of a thread.
Does java have extension methods?
Describe the various concepts related to object oriented programming (oop).