What is singleton class?
Answer Posted / harinath reddy.n
Instead of creating a separate object for every requirement we can create a single object and we can reuse the same object for every requirement
|Is This Answer Correct ?||1 Yes||0 No|
what are the disadvantages of indexes in oracle?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
what is mena by object block any what is the use of that
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
How to solve the problem of generating the unique hash keys with hash function?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
How do you download stubs from Remote place?
why we use merge option in hybernate pls give a ex snippet
placement papaers of spring computing technology
Tell me the Importent classes in net package?
Where will it be used?
what is difference betweem home interface and remote interface?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
What collections you have worked on? Internal working of Hashmap?