Geek - /* / Name: Ana Aguilar / Title: Assignment 6 /...

This preview shows page 1 - 2 out of 2 pages.

The preview shows page 1 - 2 out of 2 pages.
//***********************************************************// Name: Ana Aguilar// Title: Assignment 6// Author: Ana Aguilar// Description: We wrote a class definition that asks a Geek differentquestions. We implemented several methods and only two// instance variables in this class.We also filled out the file with the mainmethod that tests the methods defined in the Geek class.// Time spent: 3 hours// Date: 10/30/14//**********************************************************public class Geek{private String name;private int NumberOfQuestions;public Geek(String name, int numQuestions){this.name= name;NumberOfQuestions=numQuestions;}public String getName()
End of preview. Want to read all 2 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
Kim
Tags
Subroutine, 3 hours, Ana Aguilar, public int sum, public int getNumberOfQuestions, private int NumberOfQuestions

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture