How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u.
Answer Posted / prakash sah
This is happening using reflection. Read reflection in java
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Is logger a singleton?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What is the difference between size and length in java?
Can a static member function access member variable of an object?
Is null function in java?
How do you escape in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
How do you clear a list in java?
Which method cannot be overridden in java?
What flag up means?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Can we declare a static variable inside a method?
What are static blocks and static initalizers in java ?
What is ascii format?
Is void a type?