Showing posts with the label JAVA

Write a JAVA program to accept the rno of student as a command line argument and display the record of student (rno, sname, per)on the screen.

import java.sql.*; class studcmd { public static void main(String args[])…

: Write a java program to display the record of Student (rno,sname,per) on the screen by selecting rno from the choice component.

import java.awt.*; import java.awt.event.*; import java.sql.*; class…

Write a java program to accept the details of Employee (Eno,EName,Sal) from the user and insert it into the Database.(use Awt).

import java.awt.*; import java.awt.event.*; import java.sql.*; class empa…

Display 10 terms of Fibonacci Series.

class FibbThread implements Runnable { Thread t1; int a=0,b=1,c,no,count…

Write a java program that insert the details of Actor (ano, aname, movie) into the database & display the result in uppercase on the screen.

import java.sql.*; import java.io.*; class actorupr    {           p…

Write a menu driven program in java to display the records of Doctor (Dno,Dname,sal) from the database & display it on the screen (use JTable).

import java.awt.*; import javax.swing.*; import java.sql.*; class docj…

Write a java program which will create two child threads by implementing runnable interface one thread will print even nos. from 1 to 50 and other display vowels.

class EvenNo implements Runnable  { Thread t; int no,test; boolean run…

Display 1 to 20 in Reverse Order.

class ReverseThread implements Runnable  { Thread t; int no; boolean r…

Write a JAVA program to accept the details of student (Rno , SName , Per) from the user and insert it into the table. (use PreparedStatement Class).

import java.sql.*; import java.io.*; class studtable {            …

Write a java program to design a screen with two buttons start thread and stop thread.

import java.awt.*; import java.awt.event.*; class NewThread implements…

Write a JAVA program to read n strings & insert into ArrayList collection. Display the elements of collection in reverse order.

import java.util.*; import java.io.*; class arraystr { public static vo…

Write a JAVA program to accept names of n students and insert into LinkedLlist i) Display the contents of list using Iterator. ii) Display the content in reverse order. (using ListIterator)

import java.io.*; import java.util.*; class linklstud { public static v…

Write a menu driven program in JAVA for the implementation of Scrollable ResultSet. The menus are- - Move to the next Record. - Move to the first Record. - Move to the Previous Record - Move to the last Record.

import java.sql.*; import java.io.*; class scrlablrs { public s…

Write a java program to read n integers into LinkedList collection Do the following operations i) Display only negative integers ii) Delete the last element

import java.util.*; import java.io.*; import java.lang.*; class lnknegv …

That is All