Answer Posted / leelanarasimhareddy
A singleton is a class for which only one instance can exist
within a program. In other words, only one, single object of
that particular class can be created in a program.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is war file in java?
Is java singleton thread safe?
What is aop in java?
How do I run a java program from the command line?
What is stateless object in java?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
what is the package for freshers in valuelabs.
What is java web application?
When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?
Is eclipse a jdk?
What is the difference between a jdk and a jvm?
What is flatmap java?
Are jvm’s platform independent?
What are microservices in java?
What is java ioc?