Answer Posted / ishaque
There are many ways to create an object in java. They are:
By new keyword
By newInstance() method
By clone() method
By factory method etc.
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Is null a value?
What's the base class of all exception classes?
Describe how to implement singleton design pattern in struts.
Explain the transient field modifier?
What is the difference between stream and buffer?
What is java’s garbage collected heap?
how are methods defined?
how to run ecllipse with jettyserver for windows environment using batch file
What are recursive functions?
What is the collections api?
What are synchronized methods ?
What is the inheritance?
Explain about strings in java?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What are the different approaches to implement a function to generate a random number?