Methods in java, JAVA Programming

public class Foothill
{
   public static void main(String[] args)
   {
      Client person_1 = new Client("Bruce Ruprecht", 16000, 10);
      Writer writer_1 = new Writer("Adam Buff", 0, 0, false, true, true,"producer");
      Actor actor_1 = new Actor("Anthony Boss", 2500, 25, 'M', 28);
     
     // sample runs
     person_1.Display();
     writer_1.Display();
     actor_1.Display();
    
     System.out.println(person_1.ToShow() + writer_1.ToShow()
           + actor_1.ToShow());
   }
}

Posted Date: 2/19/2013 5:53:18 AM | Location : United States







Related Discussions:- Methods in java, Assignment Help, Ask Question on Methods in java, Get Answer, Expert's Help, Methods in java Discussions

Write discussion on Methods in java
Your posts are moderated
Related Questions
For an assignment I need to write an array program to go along with an instance variable. I keep getting the no main class error when I run my program.

A   socket   is      interaction   channel,   which   facilitates   inter-process   communication. A socket is an endpoint for interaction. There are two types of sockets, dependin

Describe Overriding Methods ? Assume that one day you've just finished your Car class. It's been plugged into your traffic simulation that is chugging along merrily simulating

Explain the equals() method The equals() method of java.lang.Object acts the similar as the == operator; that is, it tests for object identity rather than object equality. The

Requested figure handle in use by another object, how do i fix this?

1. Lifecycle Management : Individual enterprise beans do not accept to explicitly manage process allocation, object activation, thread management, or object destruction. The EJ

How memory allocated for a object

Project Description: Computer vision and Image processing project to extract book title Skills required: Java, C Programming

Information Retrieval during Multi-Agent System with Data Mining in Cloud Computing Project Description: I have proposed one research model on "Information Retrieval during M

create thread without extending anything