1: | Define the concept of divide and conquer in your own words. |
2: | Describe the parts of a method definition. |
3: | What constitutes the signature of a method? |
4: | How do you specify that a method is not going to return a value? |
5: | What are the three types of scope and how do they differ? |
6: | Describe the computer-programming concept of recursion. |
7: | When would you use recursion and when would you use iteration? |
8: | What is method overloading? |
9: | Can the following two methods exist in the same class? Why or why not? public int cube( int n ) { ... } public long cube( long l ) { ... } |
10: | How do you access the Math class's methods? |