0% found this document useful (0 votes)
12 views6 pages

All Programs For External and Skill Test

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views6 pages

All Programs For External and Skill Test

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Write a program to display 1 to 20

Write a program to make use of


1 numbers using for, while and do- 40
Character Wrapper class Methods.
while loop.

Write a program to convert Integer


Write a program to check switch-
2 41 object value into primitive datatype
case using character datatype.
byte, short and double value

Write a program to implement


Write a program to show the use of different types of constructors to
3 42
all methods of String class. perform addition of complex
numbers?

Write a program to implement


Write a program to implement all
4 43 multilevel inheritance.with 4 levels
methods of StringBuffer class.
of hierarchy.

Write a program to implement Develop a program to implement the


5 44
multidimensional array. multilevel inheritance.

Develop a program to calculate the


Write a program to display array
6 45 room area and volume to illustrate
elements using for-each loop.
the concept of single inheritance.

Write a program to insert different


Develop a program to find area of
7 elements in the Vector & display 46
rectangle and circle using interfaces.
them

Write a program to implement user


Write a program to use different defined packages in terms of creating
8 47
methods of Vector class. a new package and importing the
same.

Develop a program which consists


Define a package named myInstitute
of the package named
include class named as department
let_me_calculate with a class named
with one method to display the staff
Calculator and a method named add
9 48 of that department. Develop a
to add two integer numbers.Import
program to import this package in a
let_me_calculate package in another
java application and call the method
program (class named Demo) to add
defined in the package.
two numbers.
Write a program to convert String
value into Integer class object. Write a program to show the use of
10 49
Write a program to implement Integer Wrapper class methods.
single inheritance.

Develop a program to accept a


Create three threads and run these password from the user and throw
11 50
threads according to setPriority. “Authentication Failure” Exception
if the password is incorrect.

Define an exception called


“NotMatchExceptons” that is
Write the simple program for
12 thrown when a string is not equals to 51
throwing our own exceptions.
“India”. Write a program that uses
this exceptions.

Design an application to Design an application to create form


13 demonstrate the use of Radio Button 52 using Text Filed, Text Area, Button
and Checkbox. and Label

Develop an application using List


Develop application to select
14 53 components to add names of 10
multiple names of news papers.
different cities.

Write a program which creates Menu


Write the procedure to assign
15 54 of different colors and disable menu
shortcut key to the Menu Item
item for Black color.

Write a java program to implement


following functions of string :
Write a program to generate
16 Calculate length of string 55
following output
Compare between strings
Concatenating strings

Write java Program to Demonstrate Write a program to display The


17 56
Grid of 5* 5 Number on Button from 0 to 9.
Write a program to generate Write a program to generate
following output using Border following output
Layout

18 57

Write Java Program to display Write a program code to generate the


following output. following output

19 58

Write a Java program to create a


Write a Jtree program to show root
table of Name of Student,
20 59 directory and its subFolders of your
Percentage and Grade of 10 students
System.
using JTable.

Write a program to demonstrate the


Write a program to generate
use of mouseDragged and
21 60 KeyEvent when a key is pressed and
mouseMoved method of
display “Key Pressed” message
MouseMotionListener

Develop a program using


InetAddress class to retrieve IP Write a program using JTextField to
22 61
address of computer when hostname perform the addition of two numbers.
is entered by the user.

Write a program to check


credentials of users (Client will send Write a program using URL class to
23 user id and password to server and 62 retrieve the host, protocol, port and
server will authenticate the client file of URL http://www.msbte.org.in
using equals())
Write a program using
Write a program using Socket and
DatagramPacket and
24 63 ServerSocket to create Chat
DatagramSocket to create chat
Application
application

Write a program using Write a program using


DatagramPacket and DatagramPacket and
25 64
DatagramSocket to transfer the file DataGramSocket to copy the
from one location to another contents of one file into other

Write a Program to create a Student


Write a program for Implementing
26 65 Table in database and insert a record
Update and Delete Statement.
in a Student table.

Develop JDBC program to retrieve Write a program for Implementing


27 66
data. Insert Statement.

Write program to retrieve data from


table using ResultSet interface. (Use Develop a program to update a
28 67
various methods of navigation record in database table
methods)

Write a java program to display all


Write a program to print sum of even
29 the odd numbers between 1 to 30 68
numbers from 1 to 20.
using for loop & if statement.

Write a program to accept number


Write a program to find sum of digit
30 from command line and print square 69
of number entered by user.
root of the number.

Write a program to accept two Define a class 'Book' with data


numbers as command line members bookid, bookname and
31 70
arguments and print the addition of price. Accept data for seven objects
those numbers. using Array of objects and display it.

Write a java program to implement


Write a program to check whether visibility controls such as
32 71
the entered number is prime or not. public,private, protected access
modes. Assume suitable data, if any.
Write a program to create a vector
with seven elements as
(10,30,50,20,40,10,20). Remove
Write a java program to implement
33 elements 3rd and 4th position. Insert 72
runnable interface with example.
new elements at 3rd position.
Display original and current size of
vector.

Write a program to create two


Write a program to add 2 integer, 2 threads. One thread will display the
string and 2 float objects to a vector. numbers from 1 to 50 (ascending
34 73
Remove element specified by user order) and other thread will display
and display the list. numbers from 50 to 1 (descending
order).

Write a program to create two


Write a program to input name and
threads, so one thread will print even
salary of employee and throw user
35 74 numbers between 1 to 10 whereas
defined exception if entered salary is
other will print odd numbers between
negative.
11 to 20.

Write a program to input name and Write a program to input name and
balance of customer and thread an age of person and throws user
36 75
user defined exception if balance defined exception, if entered age is
less than 1500. negative.

Define an exception called „No


match Exception‟ that is thrown Write a program to launch a
37 76
when a string is not equal to JProgressBar
“MSBTE”. Write program.

Write a program to create a class


Write a program using swing to Account having variable accno,
display a ScrollPane and accname and balance. Define
38 JcomboBox in an Frame with the 77 deposite ( ) and withdraw( ) methods.
items – English, Marathi, Hindi, Create one object of class and
Sanskrit. perform the operation.
39 Write a program code to generate 78
the following output Create a class Rectangle that
contains length and width as
data members.
From this class drive class box which
has additional data member depth.
Class Rectangle consists of a
constructor and an area ( ) function.
The derived Box class have a
constructor and override function
named area ( ) which returns surface
area of Box and a volume ( )
function.
Write a java program calling all the
member function.

You might also like