Explore programs, questions, notes, and assignments for this subject
Write a Java program to create an interface Shape with the calculateArea() method. Create three classes Rectangle, Circle, and Triangle that implement...
Write a Java program that takes a number from the user, reverses it and checks whether it is palindrome or not....
Asked by Neelkumar Gohil on Feb 03, 2026
Write a program to implement Singly circular linked list.
Asked by Neelkumar Gohil on Feb 03, 2026
Write a program to implement Singly linked list.
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to simulate a Digital clock using Thread.
Asked by Neelkumar Gohil on Feb 03, 2026
Write an application that executes three threads from one thread class. One thread displays βJAVAβ every one second, second thread displays βRDBMSβ every two seconds and third thread displays βVB.NETβ every three seconds. Create the thread by using Runnable interface.
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to throw a user defined exception when a user enters floating point number.
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to accept 5 command line arguments and then raise custom exception if any argument is not from the list ("BCAβ,βMCAβ,βBBAβ,βMBAβ,βOTHERβ).
Asked by Neelkumar Gohil on Feb 03, 2026
Create a user defined exception to check whether your employee exist in an array or not, throw exception if name is not in the employees list. Use the catch and finally block to display an appropriate message.
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to input string through command line and check each command line inputs and display only those strings which are in uppercase until any lower case string found.
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to accept a string and rewrite it in alphabetical order. e.g. COMPUTER --- > CEMOPRTU
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to find all rotations of a given string. e.g. Java --β Java, avaJ,vaJa,aJav
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to accept multiple strings and arrange them in ascending order
Asked by Neelkumar Gohil on Feb 03, 2026
WAP to accept a string and count total number of uppercase and lowercase characters in a string.
Asked by Neelkumar Gohil on Feb 03, 2026
Create a superclass, Student, and subclass, Grade. The superclass Student should have data members: name, ID, age, address.The superclass, Student should have at least one method: findGrade(double percent) . The purpose of the findGrade method is to take one parameter,percent (value between 0 and 100) and find grade.In the Student class this method should be empty as an abstract method. The Grade will inherit all data members of the Student class and override the method findGrade. Create a test class for above two classes. In the test class, create Grad object. For an object, provide percent and find grade and display the results of the findGrade method.
Asked by Super Admin on Feb 03, 2026
Write a Java program to create an interface Shape with the calculateArea() method. Create three classes Rectangle, Circle, and Triangle that implement the Shape interface. Override the calculateArea() method in each subclass to calculate and return the shape's area.
Asked by Fahad Vahora on Feb 03, 2026
Write a Java program that takes a number from the user, reverses it and checks whether it is palindrome or not.
No assignments available yet.