# Java Interview

## Java Lucky Number program

Question:- William planned to choose a four-digit lucky number for his car. His lucky numbers are 3,5 and 7. Help him find the number, whose sum is divisible by  3 or 5 or 7.Provide a valid car number, Fails to provide a valid input then display that number is not a valid car number.  Note…

## Java Find Season Program

Find Season Question William planned to choose a four digit lucky number for his car. His lucky numbers are 3,5 and 7. Help him find the number, whose sum is divisible by  3 or 5 or 7.Provide a valid car number, Fails to provide a valid input then display that number is not a valid…

## Java Convert Numbers into Months

Question Ram is very weak in converting the numbers into months. But his friends often tease him by asking him to do that. To solve his problem a close friend of him, suggested meeting IIT students, who were very good at programming. Help ram to resolve his problem. Note : Range of inputs is 1 to…

## Java Highest Placement Program

Question SRV college wants to recognize the department which has succeeded in getting the maximum number of placements for this academic year. The departments that have participated in the recruitment drive are CSE,ECE, MECH. Help the college find the department getting maximum placements. Check for all the possible output given in the sample snapshot Note:…

## Java Spell Check Program

Question Ruya’s teacher gave her the assignment to practice the spelling of “RAINBOW”. Ruya’s mother helped her indoing this by spelling each letter as Ruya wrote it in her notebook. If Ruya writes wrong spelling her mother should say “The spelling is wrong” Sample Input 1:Enter the first letter:REnter the second letter:AEnter the third letter:IEnter…

## Java Bill Generation

Question Tom went to a movie with his friends in a multiplex theatre and during  break time he bought pizzas, puffs and cool drinks. Consider   the following prices :  Rs.100/pizza Rs.20/puffs Rs.10/cooldrink Generate a bill for What Tom has bought. Sample Input 1: Enter the no of pizzas bought:10Enter the no of puffs bought:12Enter the no of…