Classes And Methods In Java Essay Example

Type of paper: Essay

Topic: Business, Commerce, Property, Information, Confidentiality, Tracking, History, Public

Pages: 1

Words: 275

Published: 2021/02/22

New WowEssays Premium Database!

Find the biggest directory of over
1 million paper examples!

The problem is to design a software to keep track of people, property, and criminal activity. The system must be able to store information about every object of tracking. Therefore, there must an implementation of the corresponding database. Objects of tracking are divided into three categories. There are person objects, property objects, and criminal activity objects. In addition, the property may also be movable and immovable. These categories have some similar characteristics and behavior. Also, there are some unique attributes for each category. Such as a person can change his location and immovable property cannot. The user will be able to get all information about the exact object of tracking such as its status, location, personal information, history of movement (for movable objects), information about the owner (for property), type of crime etc.
There must be several classes in design. The first one is the general class for the tracking object (TrackingObject class). It should have some general private properties such as its ID, location. Also, it will have some methods such as getter for the ID field and getter and setter for the location field. There also must be three inherited (from TrackingObject) classes: Person, Property, and CrimeActivity. Other classes (MovableProperty and ImmovableProperty) should be inherited from the class Property. Class Person will have private fields about personal information such as name, date of the birth, place of living etc. In addition, some array or list field for storing person’s history of locations. The Class Property will have private fields about its owner information and some information about the property. Inherited MovableProperty may have private fields about its number, model year, history of locations, and corresponding public getters and setters. ImmovableProperty class may include fields of the address, people, who lives there, type of the place (living quarters, house or other facilities), and corresponding public getters and setters. CriminalActivity class will have private fields of the time of commitment, suspects and victims (their personal information), and corresponding public getters and setters. In addition, the last class may have some connections with Property and Person classes.

Cite this page
Choose cite format:
  • APA
  • MLA
  • Harvard
  • Vancouver
  • Chicago
  • ASA
  • IEEE
  • AMA
WePapers. (2021, February, 22) Classes And Methods In Java Essay Example. Retrieved September 18, 2021, from https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/
"Classes And Methods In Java Essay Example." WePapers, 22 Feb. 2021, https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/. Accessed 18 September 2021.
WePapers. 2021. Classes And Methods In Java Essay Example., viewed September 18 2021, <https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/>
WePapers. Classes And Methods In Java Essay Example. [Internet]. February 2021. [Accessed September 18, 2021]. Available from: https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/
"Classes And Methods In Java Essay Example." WePapers, Feb 22, 2021. Accessed September 18, 2021. https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/
WePapers. 2021. "Classes And Methods In Java Essay Example." Free Essay Examples - WePapers.com. Retrieved September 18, 2021. (https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/).
"Classes And Methods In Java Essay Example," Free Essay Examples - WePapers.com, 22-Feb-2021. [Online]. Available: https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/. [Accessed: 18-Sep-2021].
Classes And Methods In Java Essay Example. Free Essay Examples - WePapers.com. https://www.wepapers.com/samples/classes-and-methods-in-java-essay-example/. Published Feb 22, 2021. Accessed September 18, 2021.
Copy

Share with friends using:

Please remember that this paper is open-access and other students can use it too.

If you need an original paper created exclusively for you, hire one of our brilliant writers!

GET UNIQUE PAPER
Related Premium Essays
Contact us
Chat now