why its no pass the test?`public class Cat { private static int catCount = 0;

public Cat()
{
    catCount++;
}

public static int getCatCount()
{
    return catCount;

}

public static void setCatCount(int catCount)
{
   catCount = catCount;

}

}`

asked 03 Nov, 05:12

Anna315510's gravatar image

Anna315510
1
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 03 Nov, 05:12

Seen: 22 times

Last updated: 03 Nov, 05:12

Related questions