Search:

Type: Posts; User: Yehonatan

Search: Search took 0.19 seconds.

  1. Replies
    1
    Views
    809

    Defining an array

    Hi,

    How to Definie an array that I do not know what size it will be?

    this is the array:

    Shape shapes[] = new Shape[];

    i dont know how many shapes will be entered,
    what am i suppose to...
  2. Replies
    1
    Views
    649

    inheritance - why its not working?

    Hi,
    I wrote a class named box With a variable named volume.
    This is the first class, very simple:



    package inheritance_Ex_2;

    public class Box {
    private String Label;
Results 1 to 2 of 2