Identifing the appropriate class names, attributes & methods

Assignment Help JAVA Programming
Reference no: EM13942140

I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class.

STUDENT
INSTRUCTOR
CLASS
MAJOR

For Example:

Class Name
Student

Attributes
socialSecurityNumber;
studentName;
studentDOB;

Methods
getStudentName();
getTotalStudentCount();
setStudentID(ssn, fname);

I have part of it done but im not sure where to go from there.
Thanks

public class Student {

// methods
public void setName(String name){}
public void getStudentName(){}
public void setTotalStudentCount(){}
public void getTotalStudentCount(){}
public void setSS(String ssn){}
public void getSS(){}

// attrs
String name;
String ssn;
String studentMajor;
}

Reference no: EM13942140

Questions Cloud

Explain how the devices are or are not effective : Define the specific rhetorical device, explain how it is used, and analyze whether the persuasive technique is designed to be credible, misleading, descriptive or used for some other purpose. Explain how the devices are or are not effective.
Default constructor for the chatioexception class. : The second constructor takes in a string as a parameter and passes this string into the call to super();
How did the researchers collect the data : What does the article demonstrate about the limitations of survey research? What limitations do the authors acknowledge with their own study?
Are housing bubbles contagious : Read the case study: "Are Housing Bubbles Contagious? A Case Study of Las Vegas and Los Angeles Home Prices" and watch the supplemental videos:
Identifing the appropriate class names, attributes & methods : I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class.
Types of short and long term planning : Outline the types of short and long term planning that are carried out in the organisation
Who are the rivals to the netflix streaming effort : What is the long tail? How "long" is the Netflix tail in the DVD-by-mail business compared to traditional video stores? Who are the rivals to the Netflix streaming effort? Do any of these firm have advantages that Netflix lacks? What are these advan..
Why do you think gender has an impact on crime : Travis Hirschi developed his social control theory on the basis of bonding towards society. Which of the four elements of this bond-attachment, commitment, involvement, and belief-is more important than the others? Why?
What is the emissivity of the disk surface : Determine the fraction of the incident solar irradiation that is absorbed and what is the emissivity of the disk surface

Reviews

Write a Review

JAVA Programming Questions & Answers

  Implement avl tree

Implement AVL trees that allows both iterative traversal and recursive traversal.

  Write a java program called namecollector

Write a Java program called "NameCollector" that contains an object invocation for a class called "Collector".

  Write a recursive method power( base, exponent )

Incorporate this method into a program that enables the user to enter the base and exponent.

  Write a program that reads a set of floating-point

Write a program that reads a set of floating-point data values from the input.

  Writing a program to have it generate random words

How would I go about writing a program to have it generate random words with a letter missing for a child to guess? Maybe it would have three letters, then four, next five, and so on until maybe 10 letters. Please keep in mind that I'd like it to wor..

  Create a class that calls that parse method

Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method.

  The comparedto method

the comparedTo method. This is the course class I do not understand how to do the compared to method. I need to order the course first by department then by the course number.

  What is the smallest exponent

In storing number in a string of 16 bits, the first bit is used for the sign of the number, and the next 5 bits store the exponent plus the bias, and the remaining 10 bits store the mantissa. The bias is 15.

  In a method named setfavoritesports declare

In a method named setFavoriteSports declare the sports array and populate it.  This method will return the sports array to the calling statement.  The 9 in the prompt below will print 1 for the first sport, then 2 for the 2nd one and so forth.  Use t..

  Design a program that asks the user to enter a series of 20

Number Analysis Program: Design a program that asks the user to enter a series of 20 numbers

  How do i use an ejb to handle simple authentication

What is the difference between an Application server and a Portal server? How do I use an EJB to handle simple authentication to an LDAP directory?

  Create a new class called cat

Be sure your classes have a reasonable complement of constructor, accessor and mutator methods. Every member variable must have at least one independent accessor and one independent mutator

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd