All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Ask a Question
Search
Search
Sign In
Register
study help
computer science
algorithm design
Questions and Answers of
Algorithm Design
Why does the String method call s.substring(i, j) return the substring of s starting at index i and ending at j-1 (and not j)?
Why is the image-processing data type named Picture instead of Image?
Do instance variables have default initial values that we can depend upon?
What is null?
Suppose I do not include a toString() method. What happens if I try to print an object of that type with StdOut.println()?
Are there other kinds of variables besides argument, local, and instance variables in a class?
Mandelbrot creates tens of millions of Complex objects. Doesn’t all that objectcreation overhead slow things down?
What happens if I try to access a private instance variable or method from a class in another file?
What is a deprecated method?
What is wrong with the following implementation of equals() for Complex?public boolean equals(Complex that){return (this.re == that.re) && (this.im == that.im);}
What is wrong with the following of hashCode() for Complex?public int hashCode(){ return -17; }
In some cases a lambda expression does nothing more than call a named method in another class. Is there any shorthand for doing this?
The Universe API is certainly small. Why not just implement that code in a main() test client for Body?
Why is forceFrom() an instance method? Wouldn’t it be better for it to be a static method that takes two Body objects as arguments?
How do I find out how long it takes to add or multiply two floating-point numbers on my system?
How much time do string operations take?
How do I determine how much memory is available for my Java programs?
Why do we need to go to such lengths to prove a program correct?
Why do I get a unchecked or unsafe operation warning when compiling Insertion. java and Merge. java?
Why not have a single Co17ection data type that implements methods to add items, remove the most recently inserted item, remove the least recently inserted item, remove a random item, iterate over
Why is the val instance variable in the nested Node class in HashST declared to be of type Object instead of Value?
How many different graphs are there with \(V\) given vertices?
Can a graph have a vertex that is not adjacent to any other vertex?
Why are Graph and PathFinder in separate classes? Wouldn't it make more sense to include the PathFinder methods in the Graph API?
Is there anything wrong with allocating and deallocating thousands of Color objects, as in Grayscale (PROGRAM 3.1.4)? Program 3.1.4 Converting color to grayscale import java.awt.Color; public class
These computations with plus() and times() seem rather clumsy. Is there some way to use symbols like + and * in expressions involving objects where they make sense, such as Complex and Vector, so
Can I have a static method in a class that implements a data type?
Can I initialize an instance variable to a value other than the default value when I declare it?
Must every class have a constructor?
Showing 400 - 500
of 648
1
2
3
4
5
6
7