Code Monkey home page Code Monkey logo

04-assorted-topics-in-java-samandarvijay's Introduction

Instructions

There are tasks to be done across a few files in src/main/java, all marked with TODOs. We recommend doing them in the order:

  1. Trader.java
  2. DrivableTrader.java
  3. DrivableMap.java

The other files are provided for reference and testing purposes. These files are:

  1. Domesticatable.java, Drivable.java, and Tradable.java: These are the same interfaces as the ones in Lab 3.
  2. DomesticatableTrader.java: An example of a subclass of the Trader class. This should work once you complete Trader.java. Use this as a reference for DrivableTrader.java.
  3. Horse.java and Unicorn.java: Sample classes that implement the given interfaces.

You do NOT need to change these files, and you should not. Changing them may affect your code.

Readings

For this exercise, you will want to read through Chapter 4: Assorted Topics in Java.

You will also likely find online resources helpful, such as the following Java documentation pages:

IntelliJ Reminders

Make sure you set the folder java under src/main as Sources Root in order to get hints from IntelliJ. Similarly, you can set the folder java under src/test as Test Sources Root in order to run the tests we've provided. Alternatively, you might find it convenient to open just this directory as a project in IntelliJ while working on your code.

Automarker results

After you add, commit, and push your changes to GitHub, the test cases given to you will automatically run. This may take a few minutes.

To access the results, go to the "Actions" tab from your GitHub repository. You should see a list of workflows: click on the top-most (most recent) run. In this, you should see the points at the bottom (e.g. the number of test cases you passed) along with an Autograding job above it: if you click on Autograding, you can see the results. Expand the Run education/autograding@v1 part to see a full log of the results.

04-assorted-topics-in-java-samandarvijay's People

Contributors

github-classroom[bot] avatar samandarvijay avatar

Watchers

Pritish Mishra avatar  avatar Jiahao Wang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.