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
What is meant by javabeans?
Can we execute java program without main method?
What do you understand by classes in java?
What are the access modifiers in java?
What is the difference between arraylist and hashset in java?
What is meant by anonymous class?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
Can a class be defined inside an interface?
What is collections framework?
Write the algorithm to check the number non-leaf nodes in a tree.
Why webdriver is an interface?
What is the final keyword?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is a method header?
Why is stringbuffer faster than string?