Search:

Type: Posts; User: myjava

Search: Search took 0.66 seconds.

  1. Thread: Eclipse Android

    by myjava
    Replies
    1
    Views
    435

    Eclipse Android

    This might not be a right place to ask. I have a good experience as a java programmer with 4 years of experience in it. Now I wanted to move to android and I have never created anything of android or...
  2. Thread: Commercial Java

    by myjava
    Replies
    1
    Views
    354

    Re: Commercial Java

    Its a general question and you have to be more specific about it? Now more and more computing mobile to mobile and the companies making revenues through advertisement rather than product sale, making...
  3. Replies
    3
    Views
    200

    Re: I can't clone an object

    use try and catch Exception instead of the throwing one. I tried your code with try and catch and it worked. So use
    try
    {
    }catch(Exception e)
    {
    return this;
    }

    this should work
  4. Re: How to open new windows after pressing button next?

    if(e.getSource() == btnNxt). Use "==" here instead of "=" otherwise it won't work.

    it should be if(e.getSource() == btnNxt)
    {
    Car mycar = new Car() //This is the new window that you want to...
  5. Thread: Object help

    by myjava
    Replies
    16
    Views
    267

    Re: Object help

    did you change your displayInterest methods?
    Replace that InterestCalculator7 with just "object".
    like object.getPincipal()
    Replace all in this methods and it should work.
  6. Thread: ASSIGNMENT HELP

    by myjava
    Replies
    33
    Views
    556

    Re: ASSIGNMENT HELP

    Try my solution from scratch. I have tried it with code. It won't take long. I can't pose code here because of the regulations.
  7. Thread: ASSIGNMENT HELP

    by myjava
    Replies
    33
    Views
    556

    Re: ASSIGNMENT HELP

    1. Take the user input as string

    2. Select the digit at each place and save it into an array on integers. It can be done by
    int numbers = new int[9];
    for(int i = 0; i < 9; i++)
    {
    ...
  8. Thread: ASSIGNMENT HELP

    by myjava
    Replies
    33
    Views
    556

    Re: ASSIGNMENT HELP

    working on your program here. Taking some time but I am developing a solution for it.
  9. Replies
    8
    Views
    442

    Re: Tips for java books?

    This is one of the good links I got with java. I started with Starting out with Java by Tony Gaddis. Its pretty good book. The English is pretty simple and straight. I have used that book since...
  10. Thread: RECURSION

    by myjava
    Replies
    5
    Views
    611

    Re: RECURSION

    Recursion simply means recurring again and again. In another word, it is function calling the function itself until certain condition is met. For example:- If you look at the Fibonacci...
  11. Re: Polymorphism Java Programming HELPP P.S. I am a beginner in Java Programming

    What is your questions?
  12. Re: Linked Lists Java Programming HELPP P.S. I am a beginner in Java Programming

    You need to study JAVA COLLECTION FRAMEWORK. Look at the link. It has all the materials you need to understand. It might be hard to understand for you at the beginning but you will have enough idea...
  13. Thread: Object help

    by myjava
    Replies
    16
    Views
    267

    Re: Object help

    Also I think there is something wrong with you interest calculator. When you enter 25000 in principal amount and 15% APR, the interest paid is way too much. That doesnt happen in real world.

    ---...
  14. Thread: Object help

    by myjava
    Replies
    16
    Views
    267

    Re: Object help

    I see you have already passed the information to the InterestCalculator7 class. Simply write a getter method in the InterestCalculator7 class. user object to call those data.

    --- Update ---

    you...
  15. Thread: Object help

    by myjava
    Replies
    16
    Views
    267

    Re: Object help

    By studying your program I see that there are lots of things you didn't do quite well.
    When you display you information, you are not displaying any data there, rather you are asking the user to...
  16. Re: Not sure where to start: Trying to write a program dealing with an Amazon API

    There are different ways of solving this problem. It depends upon how you want your program or how does your professor wants it to be done. The starting point could be visualizing how your program...
  17. Thread: Classes

    by myjava
    Replies
    2
    Views
    227

    Re: Classes

    I presume you know how to write class and methods in class. Some of the examples of what you are asking are:-
    1. Creating a "book" class to be used in school library where each book has author,...
Results 1 to 17 of 17