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
Ask questionWrite a program BruteForceSearch that uses the brute-force approach given above and compare its running time on your computer with that of Binary Search for largeW.txt

Explain init(), start(), stop(), and destroy() method? The init() method is known as exactly once in an applet's life, while the applet is first loaded. It's generally used to

Write a program that finds the minimum total number of shelves, including the initial one required for this loading process

How can I convert Dijkstra''s algorithm to do max flow instead of min flow, and how can I implement it into Ford Fulkerson algorithm?

Write a program in Javascript that will read in an XML file. This file will contain details of devices maintained by the IT department of an organisation including an ID number, de

Explain Animate gifs? We can save 16 gif images of the previous instance in a single file in the form of an animated gif, and then used it in a regular tag to display a movi

Describe, in general, how java garbage collector works?

Objective: create a simple object, put that object in a simple collection class, use that object and collection in a simple GUI application. Specification:  Consider a Librar


What are the kinds of computer network according to the distance among nodes? the kinds of computer network according to the distance among nodes are as follows: There are t