6 solutions available
Question 4Design a class RailwayTicket with following description:Instance variables/data members:String name — To store the name of the...
Question 5Write a program to input a number and check and print whether it is a Pronic number or not. (Pronic number is the number which is the...
Question 6Write a program in Java to accept a string in lower case and change the first letter of every word to upper case. Display the new...
Question 7Design a class to overload a function volume() as follows:double volume (double R) – with radius (R) as an argument, returns the volume of...
Question 8Write a menu driven program to display the pattern as per user’s choice.Pattern 1ABCDEABCDABCABAPattern 2BLLUUUEEEEFor an incorrect option,...
Question 9Write a program to accept name and total marks of N number of students in two single subscript array name[] and totalmarks[].Calculate and...