New answers tagged

1

Yes, lab is frequently used as a term to denote a medium size assignment. Exercise would be used for a shorter one, and project for something more extensive. But the terminology isn't standardized so you can use your own terms, as long as the reader understands them. But I'll also note, that just as in programming it isn't the typing that makes writing ...


0

An interesting bug occurred during a practice job interview when creating a method that tests whether a substring (the needle) is in a string (the haystack). You can play with the code on repl.it or see it here. import java.util.Objects; class Main { public static void main(String[] args) { // Add more test cases. String[] needles = {"a", "a", "...


Top 50 recent answers are included