Core Java - Interview Questions and Answers for 'Java programs are collection of objects' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Java programs are collection of objects' - 1 question(s) found - Order By Newest

 Q1. How would you explain the statement "Java Programs are collection of objects" ?Core Java
Ans. Java Programs are collection of objects that communicates with each other to get a task accomplished. To add to those objects, there are common spaces ( static i.e common for objects belonging to a class ) that are used too.

We can visualize objects as departments of an organization in real world. Just like Task gets initiated in one department and then files are moved across different departments to get work done. In a similar fashion, a task is initiated in one object ( having main method ) and then information ( through POJOs / DTOs ) is moved across objects to accomplish a task.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     objects  Java Programs are collection of objects  real life example of object communication


Related Questions

  Why do we need Inner classes ? Cant we just work with outer classes wherever we implement Inner classes ?
 Let's suppose we have an to destroy objects, Design a program to implement garbage collection ?
  How can we create objects if we make the constructor private ?
  Difference Between this() and super() ?
  Please specify in what sequence the objects of following classes will be created ?

Session , SessionFactory, Query , Configuration
  Which interface provides the capability to store objects using a key-value pair?
  What is an Object ?
  How many SessionFactory and Session objects are created ?
  Can we declare Entity class as final ?
  What are stateless objects ? How are they different from immutable objects ? Which of these two is thread safe ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: