Coder Social home page Coder Social logo

bluej.dandobetter's Introduction

Java Fundamentals

Objective:

  • To complete the method stubs in each of the provided classes
    • MathUtilities
    • PredicateUtilities
    • StringUtilities

Purpose:

Classes to be completed:

  • MathUtilities
  • PredicateUtilities
  • StringUtilities

Instructions:

  1. Fork this Repository
    • fork this repository to your personal github account
    • clone your forked repository to your local machine.
    • Complete steps 2 and 3
    • git add your changes to the list of your commited files.
    • git commit your added files to the list of your staged files.
    • git push your staged files to your remote repository.
    • submit a pull request which compares Zipcoder master to your master.

Predicate Utilities

  • A predicate is a clause which states something about a subject. (e.g., is assigning in "Leon is assigning homework")
  • Ensure each of the test cases passes successfully in the class PredicateUtilitiesTest by completing each of the method stubs in the class PredicateUtilities.
  • Method Stubs to be completed
    • boolean isGreaterThan(int x, int y)
    • boolean isLessThan(int x, int y)
    • boolean isGreaterThanOrEqualTo(int x, int y)
    • boolean isLessThanOrEqualTo(int x, int y)

Math Utilities

  • Ensure each of the test cases passes successfully in the class MathUtilitiesTest by completing each of the method stubs in the class MathUtilities.
  • Method Stubs to be completed
    • Integer add(int, int)
    • Long add(long, long)
    • Short add(short, short)
    • Byte add(byte, byte)
    • Float add(float, float)
    • Double add(double, double)
    • Integer subtract(int, int)
    • Long subtract(long, long)
    • Short subtract(short, short)
    • Byte subtract(byte, byte)
    • Float subtract(float, float)
    • Double subtract(double, double)
    • Integer divide(int, int)
    • Long divide(long, long)
    • Short divide(short, short)
    • Byte divide(byte, byte)
    • Float divide(float, float)
    • Double divide(double, double)
    • Integer multiply(int, int)
    • Long multiply(long, long)
    • Short multiply(short, short)
    • Byte multiply(byte, byte)
    • Float multiply(float, float)
    • Double multiply(double, double)
    • Boolean returnTrue
    • Boolean returnFalse

String Utilities

  • Ensure each of the test cases passes successfully in the class StringUtilitiesTest by completing each of the method stubs in the class StringUtilities.
  • Method Stubs to be completed
    • String concatenation(String, String)
    • String concatenation(int, String)
    • String getPrefix(String)
    • String getSuffix(String)
    • Boolean compareTwoStrings(String)
    • Character getMiddleCharacter(String)
    • String getFirstWord(String)
    • String getSecondWord(String)
    • String reverse(String)

bluej.dandobetter's People

Contributors

leon-good-life avatar

Watchers

 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.