Join Peggy Fisher for an in-depth discussion in this video Using simulations, part of Java Essential Training for Students.
- Did you know that object oriented programming languages…were originally used most frequently…for two types of applications:…computer simulations and graphical user interfaces.…Computer simulations attempt to mimic real world activities…so that their processes can be improved…or so that users can better understand…how the real world operates.…Discrete-event simulation is a good option for problems…that can be modeled as individual events…that take place at very specific times.…
Key activities are randomly generating times and durations…based on empirical data,…and accumulating statistics as the simulation runs.…Let's take a look at an example.…You could simulate the activity in a parking garage…as the entries and departures of cars…and the loss of customers who can't enter…because the garage is full.…This can be done with two model classes…a car class and a garage class,…and three other supporting classes…an event class, a schedule and a monitor.…
The schedule will manage the events,…and the monitor will accumulate the data.…
- Getting started with parsing
- Reviewing data types
- Using decisions
- Creating user-defined methods
- Command-line debugging
- Exploring the Java API
- Creating and instantiating classes
- Working with interfaces
- Storing items with arrays
Skill Level Intermediate
Q: How can I make my debugger function like the author’s?
<div>A: When you are debugging your program in NetBeans, if you do not see the new contextual items on the menu bar for stepping into your code, check to see if the source file is accidentally deselected.</div><div> </div><div>Highlight the program you want to debug in your projects folder. In the menu bar, choose Windows > Debugging > Sources. A new window will appear with the file path name. If the checkbox is not selected, click the box to select this file.</div><div> </div><div>Now you can go back to your program and rerun the debug operation on your code.</div>
1. Command Level Programming
2. Basics Review
4. Java API
5. Simulations and Algorithm Analysis
6. Classes and Objects
7. More on Classes
8. Data Structures
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.