Results 1 to 6 of 6
  1. #1
    Gizzaa is offline Member
    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Default Help a NOOB please

    We are working on a project for a school in Holland, but we are not getting further. Is there anyone who can call us on skype en help us please?

  2. #2
    Gizzaa is offline Member
    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Default Re: Help a NOOB please

    package main;

    import java.util.ArrayList;

    public class Veelhoek {

    int dimensie;
    ArrayList<Punt> punten;


    public Veelhoek() {
    this.punten = new ArrayList();

    this.punten.add(new Punt(0,0));
    this.punten.add(new Punt(0,0));
    this.punten.add(new Punt(0,0));


    }

    public Veelhoek(int dimensie) {
    if (dimensie < 3) {
    System.out.println("Ongeldig aantal hoeren pik");
    dimensie = 3;

    }
    this.punten = new ArrayList(dimensie);

    }

    public void print() {
    System.out.println("(" + this.punten + ")");



    }
    }

    the Question is:
    Maak in de klasse Veelhoek een methode print(). Deze druk eerst de dimensie van de veelhoek af. Vervolgens worden de coördinaten van ieder punt van die veelhoek afgedrukt. LET OP: Maak hierbij gebruik van de print() methode die je in opdracht A hebt gemaakt.

  3. #3
    penguinCoder is offline Member
    Join Date
    Oct 2012
    Location
    Tempe, Arizona
    Posts
    77
    Blog Entries
    12
    Rep Power
    0

    Default Re: Help a NOOB please

    Google Translate -- The question is:
    Make the class Polygon a method print (). This pressure first dimension of the polygon. Then, the coordinates of each point of said polygon printed. CAUTION: Make use of the print () method that you have created is A.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Help a NOOB please

    If Jos is around he might be able to help (on the forum, not via skype) since he at least speaks the language.
    But you will need to first put your code in [code] tags [/code] so that it stays formatted.
    You will also need to say where you are having problems, including any compilation errors or exceptions and highlighting the line they occur on.
    If the code does not produce the result you want you will need to say what result you see and what result you expect to see.

    Any help provided here is in the thread, people will not generally help via PM, let alone email or Skype.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,773
    Blog Entries
    7
    Rep Power
    21

    Default Re: Help a NOOB please

    Quote Originally Posted by Tolls View Post
    If Jos is around he might be able to help (on the forum, not via skype) since he at least speaks the language.
    But you will need to first put your code in [code] tags [/code] so that it stays formatted.
    You will also need to say where you are having problems, including any compilation errors or exceptions and highlighting the line they occur on.
    If the code does not produce the result you want you will need to say what result you see and what result you expect to see.

    Any help provided here is in the thread, people will not generally help via PM, let alone email or Skype.
    You already said it all ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Help a NOOB please

    But not in Dutch!
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. another noob
    By Blauv in forum New To Java
    Replies: 15
    Last Post: 09-01-2012, 12:04 AM
  2. I am a super noob with a super noob question.
    By LittleZoppo in forum Java Applets
    Replies: 3
    Last Post: 04-27-2012, 04:50 AM
  3. noob needs help
    By chris666uk1 in forum New To Java
    Replies: 1
    Last Post: 10-23-2011, 12:55 AM
  4. Very noob, but need help!!!
    By Guilbertda in forum New To Java
    Replies: 2
    Last Post: 02-01-2010, 11:32 PM
  5. Help im a noob.. a super noob on java..
    By critdevil in forum New To Java
    Replies: 12
    Last Post: 03-07-2009, 04:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •