代码搜索:toString

找到约 10,000 项符合「toString」的源代码

代码结果 10,000
www.eeworm.com/read/165570/5481165

java salariedworker.java

package Employees; public class SalariedWorker extends GenericEmployee { protected int weeklySalary; /** Constructor that takes the name, address, and number. */ public SalariedWorker(Str
www.eeworm.com/read/165570/5481176

java salariedworker.java

public class SalariedWorker extends Employee { protected int weeklySalary; // constructor that takes the name, address, and number public SalariedWorker(String n, String a, int e, int w) {
www.eeworm.com/read/165570/5481177

java hourlyworker.java

public class HourlyWorker extends Employee { protected float hourlyWage, hoursWorked; // constructor that takes the name, address, and number public HourlyWorker(String n, String a, int e, f
www.eeworm.com/read/165570/5481178

java employee.java

public class Employee { protected String name, address; protected int employeeNumber; // constructor that takes the name, address, and number public Employee(String n, String a, int e) {
www.eeworm.com/read/165570/5481210

java book.java

/** A class representing a book. It has instance variables title, author, and isbn number, and a toString method. */ public class Book { /** Attributes of a book */ protected String title, a
www.eeworm.com/read/165570/5481241

java studentreg.java

package Entities; /** Maintains information about registration in a section that a student requires. */ public class StudentReg { /** Data Attributes. */ protected CallNum callNum; protec
www.eeworm.com/read/165570/5481349

java colorbox.java

/** A descendant of BasicBox which includes a color attribute. The toString method is changed to display the new color, and a second constructor is added. */ public class ColorBox extends BasicBox
www.eeworm.com/read/165570/5481360

java boxpassing.java

public class BoxPassing { /** Main program. */ public static void main(String[] args) { int x = 5; BasicBox myBox = new BasicBox(2, 3, 4); System.out.println("Inside main method");
www.eeworm.com/read/165570/5481389

java betterlinkednode.java

package simple; public class BetterLinkedNode { /** contents of cell */ public Object item; /** pointer to next node */ public BetterLinkedNode nextNode; /** set item equal to x
www.eeworm.com/read/165570/5481407

java testadvlists.java

package simple; import java.io.*; /** This class tests all the lists in the list package */ public class TestAdvLists { static FileWriter outFile = null; public static void main