how to use javadoc

Solutions on MaxInterview for how to use javadoc by the best coders in the world

showing results for - "how to use javadoc"
Lilli
05 Nov 2020
1package com.lowewriter.payroll;
2/** Represents an employee.
3 * @author Doug Lowe
4 * @author www.LoweWriter.com
5 * @version 1.5
6 * @since 1.0
7*/
8public class Employee
9{
10 private String lastName;
11 private String firstName;
12 private Double salary;
13/** Represents the employee’s address.
14*/
15 public Address address;
16/** Creates an employee with the specified name.
17 * @param lastName The employee’s last name.
18 * @param firstName The employee’s first name.
19*/
20 public Employee(String lastName, String firstName)
21 {
22  this.lastName = lastName;
23  this.firstName = firstName;
24  this.address = new Address();
25 }
26/** Gets the employee’s last name.
27 * @return A string representing the employee’s last
28 *     name.
29*/
30 public String getLastName()
31 {
32  return this.lastName;
33 }
34/** Sets the employee’s last name.
35 * @param lastName A String containing the employee’s
36 *     last name.
37*/
38 public void setLastName(String lastName)
39 {
40  this.lastName = lastName;
41 }
42/** Gets the employee’s first name.
43 * @return A string representing the employee’s first
44 *     name.
45*/
46 public String getFirstName()
47 {
48  return this.firstName;
49 }
50/** Sets the employee’s first name.
51 * @param firstName A String containing the
52 *     employee’s first name.
53*/
54 public void setFirstName(String firstName)
55 {
56  this.firstName = firstName;
57 }
58/** Gets the employee’s salary.
59 * @return A double representing the employee’s salary.
60*/
61 public double getSalary()
62 {
63  return this.salary;
64 }
65/** Sets the employee’s salary.
66 * @param lastName A double containing the employee’s
67 *     salary.
68*/
69 public void setSalary(double salary)
70 {
71  this.salary = salary;
72 }
73}
queries leading to this page
javadocjavadoc use javadoc javadoc 3ccode 3ehow to generate javadocwhat 27s the purpose of javadochow to add javadocjavadoc example methodhow to make javadocjavadoc d 2fjavadoc 2f 2a javawhat is a javadocjavadoc java examplejavadoc examplescode javadocjavadoc programjavadoc 40example javadocwhat is the purpose javadocjavadoc usejavadoc methodsjavadoc en javawhat is javadoc used forhow to write a javadocjavadoc code examplewhy javadoc is usedwriting a javadoc using 2f 2a 2awho writes javadoc documentationhow to create javadocis javadoc necessaryjavadoc 40codehow to do javadocjavadoc functionswhat is a javadoc filehow to javadocjavadoc method use for javadochow to use javadoc commandjavadoc docjavadoc codejavadoc referencehow to write javadoc properlyjavadoc how tocreating javadocjavadocs examplehow does work javadocwhat is javadoc in javajavadoc examples in codejavadoc guidewhen to use javadocwhere should i put the javadocjavadoc examplehow to wite javadoc 24 javadocusing javadocwhat is a javadoc in javahow to create a javadocjavadoc documentation examplesjavadoc djavadoc classjavadoc how to writejava and javac and javap javadocjavadoc example codejavadoc javawhat is javadochow to use javadochow to make a javadocjavadoc 27javadoc method examplejavadoc method referencejavadoc example functionjavadoc in javajavadoc tutorialjavadoc createjavadoc functionjavadoc in javadocjavadoc 40examplehow to write javadochow to generate javadoc in javamaking javadocjavadoc 40usejavadoc documentationjavadoc purposewhats the use of javadocjava how to make javadocjava javadocjavadoc d docwhats javadocjavadoc documentation examplejavadoc syntaxhow to use javadoc