Search:

Type: Posts; User: hexwind

Search: Search took 0.10 seconds.

  1. Re: How to perform operations on arguments with type OBJECT?

    So I should figure out the type of the argument first and change it accordingly and work on it? because, for example, if the client passes it with an integer, i don't want to change it to anything...
  2. Re: How to perform operations on arguments with type OBJECT?

    From what I understand, I have to import the Number library using "import java.lang.Number;" and then 'convert' the arguments of my method to primitive values?
    How would I know if it's an integer...
  3. How to perform operations on arguments with type OBJECT?

    Hello guys
    I'm a Java beginner. I just learned class access controls and whatnot, and I wanted to make a class that I called "Calculus" that has different methods for calculus (addition,...
Results 1 to 3 of 3