007-002-004

Class Declaration and Object Creation: Student Class

Medium

Problem Description

In this problem, you will create a program that instantiates an object using the new keyword, sets initial values via the constructor, and displays the result to standard output.

Object Creation

Use new keyword to create objects. constructor sets initial values.

Ready to Try Running Code?

Log in to access the code editor and execute your solutions for this problem.

Don't have an account?

Sign Up