0% found this document useful (0 votes)
8 views

Java Programs

Birth certificate

Uploaded by

dollymittal115
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Java Programs

Birth certificate

Uploaded by

dollymittal115
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Program No.

-26
Aim: Write a program to create any GUI using swing API in Java.
Code:

Output:
Program No. -27
Aim: Write a program to create Panel using swing API in Java.
Code:

Output:
Program No. -29
Aim: Write a program to demonstrate the behaviour of Generic
Method in Java.
Code:

Output:
Program No. -28
Aim: Write a program to demonstrate the behaviour of Generic Class
in Java.
Code:

Output:
Program No. -30
Aim: Write a program to demonstrate the behaviour of List interface
of collection framework in Java.
Code:

OUTPUT:
Program No. -31
Aim: Write a program to demonstrate the behaviour of Set interface
of collection framework in Java.
Code:

Output:
Program No. -32
Aim: Write a program to demonstrate the behaviour of Queue
interface of collection framework in Java.
Code:

Output:
Program No. -33
Aim: Write a program to demonstrate the behaviour of Map interface
of collection framework in Java.
Code:

Output:
Program No. -34
Aim: Write a program to demonstrate the behaviour of Sorted List
interface of collection framework in Java.
Code:

Output:
Program No. -35
Aim: Write a program to demonstrate the behaviour of unbounded
wildcard in Java.
Code:

Output:
Program No. -36
Aim: Write a program to demonstrate the behaviour of upper
bounded wildcard in Java.
Code:

Output:
Program No. -37
Aim: Write a program to demonstrate the behaviour of lower
bounded wildcard in Java.

Code:

Output:

You might also like