Skip to content

ZCW-J101D51/JavaQuiz10-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Java Quiz: Week 10, Day 3

Overview

  • This quiz has 2 sections:
    1. fundamentals
      • StringEvaluator
      • PalindromEvaluator
    2. object orientation
      • PalindromeObject
      • StringAssembler
      • StringEvaluatorObject


Section 1 - Fundamentals

PalindromeEvaluator

  • Description
    • The purpose of this class is to evaluator palindromes.
    • A palindrome is a word or phrase that is spelled the same forwards and backwards.
      • the word racecar is an example of a palindrome
  • Methods to Complete
    • String reverseString(String str)
    • Boolean isPalindrome(String str)
    • String[] getAllPalindromes(String str)

StringEvaluator

  • Description
    • The purpose of this class is to create a utility class for String
  • Methods to Complete
    • String[] getAllSubstrings(String string)
    • String[] getCommonSubstrings(String string1, String string2)
    • String[] getLargestCommonSubstring(String string1, String string2)

Section 2 - Object Orientation

PalindromeObject

  • Description
    • The purpose of this class is to create an object capable of evaluating palindromes.
  • Methods to Complete
    • String reverseString()
    • Boolean isPalindrome()
    • String[] getAllPalindromes()

StringAssembler

  • Description
    • The purpose of this class is to create a wrapper class for StringBuilder
  • Methods to Complete
    • StringAssembler append(String string)
    • String append()

StringEvaluatorObject

  • Description
    • The purpose of this class is to create a wrapper object for StringEvaluator
  • Methods to Complete
    • String[] getAllSubstrings()
    • String[] getCommonSubstrings(String string2)
    • String[] getLargestCommonSubstring(String string2)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages