make a program

GoodEmployee is defined who has ALL the following properties:

He should be married.
He should have 2 or less than 2 children.
His middle name should start with "k" but not end with "e"
The last name should have more than 4 characters
The character "a" should appear in the last name at least two times.
The name of one of his children should be "Raja"

Write a method:

boolean isGoodEmployee( boolean isMarried, int noOfChild , String middleName , String lastName , String[] childNames);

isMarried true if the employee is married. noOfChild the number of children of the employee. middleName the middle name of the employee lastName the last name of the employee. childNames the array of the names of the children of the employe

View Answers









Related Tutorials/Questions & Answers:
make a program
make a program  GoodEmployee is defined who has ALL the following properties: He should be married. He should have 2 or less than 2 children. His middle name should start with "k" but not end with "e" The last name should have
how to make a program on array
how to make a program on array  When you make a program on array that the element will move downward and upward and when you input twice 0 then thats the time that it will not move. pls. give me a formula...tnx
Advertisements
make this program in java
make this program in java  given array a[1,5,3,1].want to take value from array and print star(*) that number times columm wise . output shuld
How To Make This Program - Java Beginners
How To Make This Program  How To Make Java Calculation program I want to Write a program in Java that calculates the sum of digits of an input number, prints it, then calculates the sum... output: 59 14 5 please help to make
New to JSP..need help to make & run a JSP program.
New to JSP..need help to make & run a JSP program.  Hi, I have installed Tomcat 5.5 on my system. Plz help me to make a simple JSP program.../hello.jsp and press enter. You jsp program will then display the output
write a program to evaluate the following investment equation make use of wrapper class v=p(1+r)rest to n
write a program to evaluate the following investment equation make use of wrapper class v=p(1+r)rest to n  write a program to evaluate the following investment equation make use of wrapper class v=p(1+r)rest to n
Program
Program  Define an Abstract class DigitalCamera with instance variables like make, model, resolution, etc, and create() to set the details of camera. Use three sub classes for three different makes (eg. Canon, Olympus, Sony
program
program  any program of hotel or school management
program
program  program of jdbc using ms access for creating table
program
program  write a javascript program to create a application form with validation
program
program  write a html program in show table and this word in box
program
program  write a program different between to dates in terms of days in java
program
program  WAP a java program to form 1/2+3/4+5/6+7/8 series
program
program   Write a program to find the difference between sum of the squares and the square of the sums of n numbers
program
program  write a program reversee a string. input-hi this is roseindia output-roseindia is this hi
program
program  develop a servlet to insert the data in the database from our program in the table stored in the database
program
program   An old-style movie theater has a simple profit program. Each customer pays $5 per ticket. Every performance costs the theater $20, plus $.50 per attendee. Develop the program calculateTotalProfit that consumes
program
program  write a java program to input a no. and print wheather the no. is a special no or not. (special no. are those no whose factorial of the sum of digit of the no is same as the original
program
program  Develop the program calculateCylinderArea, which accepts radius of the cylinder's base disk and its height and computes surface area of the cylinder
program
program  explanation of program on extending thread class   Hi Friend, Please go through the following link:ADS_TO_REPLACE_1 Java Threads Thanks
program
program  Develop a program that computes the distance a boat travels across a river, given the width of the river, the boat's speed perpendicular to the river, and the river's speed. Speed is distance/time, and the Pythagorean
program
program  how to improve programming skills plss tell some tips..i am understanding concepts but unable to write program so,pls give some guideness plsss
Program
Program  a program to prove that default constructor of super class is available to subclass by default. Define a parameterize constructor for super class to store name = â??Tommyâ?? age=â??23â?? and call this constructor
Program
Program  a program to create two classes Commercial and Domestic. Override the method calculatebill() of Commercial class(Rs.8 per unit) into Domestic class(Rs 6 per unit) to compute electricity bill for both classes
program
program  no i want a program that shows how merge sort algorithm works in graphical representations like numbers are taken in circles and computation... in rectangles or circles wat ever it may be. the theme of program is to show algorithm
program
program  . Develop a program that accepts an initial amount of money (called the principal), a simple annual interest rate, and a number of months will compute the balance at the end of that time. Assume that no additional
program
program  Write a JSP Program, which displays a web page containing the name of the Courses, Courses being offered currently, number of students enrolled in each course, new courses to be offered, eligibility criteria for taking
program
program  i want a progra in java to print a sentence in alphabetic order, taking the input from the user.the program should writen without using the array for example : if input= this is a cat then output sould = a cat
program
program  Utopias tax accountants always use programs that compute income taxes even though the tax rate is a solid, never-changing 15%. Define the program calculateTax which determines the tax on the gross pay. Define
program
program  Write a JSP Program, which displays a web page containing two web links one for your profiling and other for the schedule of theory of practical classes of your Batch. When one click on link for getting your profile
program
program  Write a program to print details of a week for a particular day using array of objects Integer and String. OUTPUT: First Day of Week is Monday Second Day of Week is Tuesday Third Day of Week is Wednesday Forth Day
make setup
make setup  i've made jbuilder application how could make autorun or jar executable for this application? waiting your answers soon
ModuleNotFoundError: No module named 'make'
ModuleNotFoundError: No module named 'make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'make' How to remove the ModuleNotFoundError: No module named 'make' error
Make A website
Make A website  How expensive(hire someone) or hard would it be to create a website like this? I want to build a website where people can be users of the website with a small profile. Their is a point system (kinda like money
make a webpage
make a webpage   I will provide you some basic requirements that you will be implementing over a small web page... Requirements: A web page having a title, heading, 3 text boxes, a checkbox, a submit button and a table
Make Money
Make Money       Can I make money from my web site by writing articles? Yes, You can make money from your web site. We are providing free information
how make ID - Ajax
how make ID  how make a ID in eyeball chat
How to make elements invisible ?
How to make elements invisible ?   How to make elements invisible
how to make this pattern???
how to make this pattern???  how to make following pattern in javascript
java program
java program  hi friends how to make a java program for getting non prime odd numbers in a given series
ModuleNotFoundError: No module named 'apyref-make'
ModuleNotFoundError: No module named 'apyref-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'apyref-make' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'apyref-make'
ModuleNotFoundError: No module named 'apyref-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'apyref-make' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'bjp_make'
ModuleNotFoundError: No module named 'bjp_make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'bjp_make' How to remove the ModuleNotFoundError: No module named 'bjp_make
ModuleNotFoundError: No module named 'bpy-make'
ModuleNotFoundError: No module named 'bpy-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'bpy-make' How to remove the ModuleNotFoundError: No module named 'bpy-make
ModuleNotFoundError: No module named 'docker-make'
ModuleNotFoundError: No module named 'docker-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'docker-make' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'donkey-make'
ModuleNotFoundError: No module named 'donkey-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'donkey-make' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'lektor-make'
ModuleNotFoundError: No module named 'lektor-make'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'lektor-make' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'make-bitvector'
ModuleNotFoundError: No module named 'make-bitvector'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'make-bitvector' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'make-c'
ModuleNotFoundError: No module named 'make-c'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'make-c' How to remove the ModuleNotFoundError: No module named 'make-c'
ModuleNotFoundError: No module named 'make-operations'
ModuleNotFoundError: No module named 'make-operations'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'make-operations' How to remove the ModuleNotFoundError: No module named