java

Java Program of Hy-Fly Taxi

Question: Hy-Fly is one of the leading taxi service providers in the town. The proprietor of Hy-Fly has planned to provide a grand discount to its customers. The discount is given based on the distance travelled. Write a Java program to calculate the total fare for the customer based on the discount if applicable. Distance…

Java Program for Harima Realtor’s Example

Question: Harima Realtor’s leading Real Estate Developer. They provide independent housing layouts, apartments & individual villas at affordable price. The Management of Harima Realtor’s has planned to give a grand discount to its buyers. The discount is given based on the land area booked or purchased. Write a java program to calculate the total price…

Java Program of count Discount Rate

Question: Water4U is the leading brand of packaged drinking water. The management of Water4U plans to expand the business. So, they decide to give a grand discount on two types of Bottles – 500 ml and 300ml. Discount is given based on the number of cases (bulk purchase) ordered by the distributor for the given…

Java Program of Kids School Example

Question: In a school, the Kindergarten students are supposed to repeat a word 5 times. For example, if the word is “dancing”, they will have to say dancing dancingdancingdancingdancing. Write a program to accept the string(word) as input from the user and also get the X and the Y position of the character as input…

Java Program of Count of Each Words

Question: Miss.Jane, an experienced English professor, gives practice tests to her students to improve their written skills. Everyday students write an article and they submit it to Jane. Jane is particular that the students use only special characters like , ; : . ? ! in the article. [Note : Using the above mentioned special…

Java Program of PhoneBook Manipulation

Question: Airone mobile services needs to store their customer details in the company portal. The details are customer’s first and last name, phone number, and email address. Help the company develop an application to maintain the details of their customer systematically.  You are provided with a class Contact with the following attributes as private. String…

Java Program of Member Manipulation

Question: Like the book details the district library wants to store the details about their members.So that it is easy to provide login credentials for those members to access books online. The application should be a menu driven. Develop an application to implement the scenario.  You are provided with  a class Member with the following…

Java Program of Retrieve Student Info

Question: Now Zara has another requirement. Since there are many numbers of students, Zara would like to obtain the information of Students of a particular school. Create a java application to implement the above requirement. You are provided with the Student class that has the below attributes:   int studId   String studName   String…