package com.company;
public class ContactsManager {
Contact [] myFriends;
int friendsCount;
// Constructor:
ContactsManager(){
friendsCount = 0;
myFriends = new Contact[500];
}
Contact is another class
in this code i cannot understand these lines
Contact [] myFriends; ContactsManager(){
friendsCount = 0;
myFriends = new Contact[500];}
what is happening here although I know Contact is another class but cannot understand this what is happening here please, anyone, explain