I'm still new to programming and am trying to figure out this part of a project: The Card class represents a playing card with a rank and suit. Insert instance data that will store rank and suit as String objects and define a constructor that accepts and stores those values (rank then suit). It then says to include separate getter and setter methods for rank and suit of the card.
This may be too advanced for me but from what I can tell, I should be doing this:
public class Card
{
private String rank;
private String suit;