Write a JAVA program to design a screen with two text boxes and start button.Clicking on start should start two threads printing 1 to 100 in two text boxes.
Write a program to create two lists and transfer elements from one list to another. Multiple selection is allowed. The Add button allows an element to be added and the Remove button allows an element to be removed (Accepted in an input dialog). Do not add duplicate elements
Write a JAVA program to accept the number from the user and do the following - Calculate Factorial of a given Number. - To check whether given number is prime or not. (use Thread)
Define class EmailId with members, username, domainId and password. Define default and parameterized constructors. Accept values from the command line and create a date object. Throw user defined exceptions – "InvalidUsernameException" or "InvalidPasswordException" if the uaername and password are invalid. If the date is valid, display message "Valid Email Id".
Write a JAVA program to accept two 3*3 matrices from the user and display i. Addition ii. Multiplication iii. Sum of diagonal and non diagonal elements of first 3*3 matrix (Design a menu for the above options)
Write a JAVA program to Create a class called NumTest that accepts an array of ten numbers i. Display the sum of all numbers ii. Average of numbers iii. Max and Min of the numbers iv.Total number of odd and even numbers
Write a JAVA program to create a class Employee with attributes empno, name, age, department Initialize values through parameterized constructor. If age of the employee is not in between 18 to 60 then generate user-defined exception "Age Not Within The Range".
Create a class MyDate with day, month and year as members. Write appropriate member functions. Create another class Employee, which has id, name, date of birth, date of joining and salary as members (use MyDate for date fields). Write appropriate constructor for the Employee which assigns values to the members. Accept the details as command line arguments and create a Employee object using the arguments. Display the payslip details in a proper format.
Write a JAVA program which has a class student with attributes Rollno,Name,Class. A derived class result should have attributes Marks1, Marks2, Marks3. Display the details of students along with their marks in three subjects. Write necessary functions to compute percentage. (Use parameterized constructor and super keyword to call base class constructor)
Write Java program to design three text boxes and two buttons using swing . Enter different strings in first and second textbox. On clicking the First command button, concatenation of two strings should be displayed in third text box and on clicking second command button , reverse of string should display in third text box.