Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
395 B
2
Indexable
Never
public class Computer
{ 
    private int screenSize; 
    private int memory;
    
    public int getScreenSize()
    {
        return screenSize;
    }

    public void setScreenSize(int screenSize)
    {
        this.screenSize = screenSize;
    }

    public int getMemory()
    {
        return memory;
    }

    public void setMemory(int memory)
    {
        this.memory = memory;
    }
}
Leave a Comment