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
what is the default modifiers for methods in interface

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

Question: A new software engineer has joined Axistex Ltd. The systems analyst informs him that the organisation works with different operating system. The HR department works w

What are the conditions for exiting the while loop?

What happens to the static fields of a class during serialization? There are three exceptions in which serialization does not necessarily read and write to the stream. These

The Struts tag libraries are: ? HTML Tags ? Logic Tags ? Template Tags ? Bean Tags ? Tiles Tags ? Nested Tags

how to retrive data in one block from database by click data link in another block

What is JDBC exactly? Describe the steps required to execute a SQL query using JDBC.

This assignment requires you to design, implement and test a program using Java features from the first half of the subject content. You are required to implement in Java all the c

The while statement define a loop that iterates as long as condition remains true. In the following instance the control waits till the value of a text field becomes "go":