Question: CSCI 1 8 5 Spring 2 0 2 4 Lab 0 Java Class and Object 1 0 1 Please define a Java class named Student
CSCI Spring Lab
Java Class and Object
Please define a Java class named Student with the following data:
name String
string
age int
Also define the following behaviors:
getName return the name
sets.SN set the SSN to be a new String value
Please write one main method that creates one student object and use the two methods above to access the object.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
