ca8f4List of Lab Programs.doc

4
ASET AMITY UNIVERSITY RAJASTHAN JAVA PROGRAMMING LAB B.Tech III Semester (ECE) Course Code: BTE 322 Credit Units: 01 Software Required: JDK1.6 Week 1 Name of the program 1 Write a Java program to print hello world. 2 Write a Java program to find simple Interest. 3 Write a Java program to find all arithmetic operation 4 Write a Java program to calculate Area of a Circle and print it. Week-2 5 Write a Java program to find even or Odd Number from given array. 6 Write a Java program to input two matrixes from the keyboard and find multiplication of them. 7 Write a Java program to print Fibonacci series up to given number Week-3 8 Write a Java program to illustrate the use of method overloading 9 Write a Java program to illustrate the use of this keyword 10 Write a Java program using constructor overloading 11 Write a Java Program to invoke constructors

description

hi

Transcript of ca8f4List of Lab Programs.doc

Page 1: ca8f4List of Lab Programs.doc

ASET

AMITY UNIVERSITY R A J A S T H A N

JAVA PROGRAMMING LAB

B.Tech III Semester (ECE)

Course Code: BTE 322 Credit Units: 01

Software Required: JDK1.6

Week 1 Name of the program

1 Write a Java program to print hello world.2 Write a Java program to find simple Interest.3 Write a Java program to find all arithmetic operation

4 Write a Java program to calculate Area of a Circle and print it.Week-2

5 Write a Java program to find even or Odd Number from given array.

6 Write a Java program to input two matrixes from the keyboard and find multiplication of them.

7 Write a Java program to print Fibonacci series up to given numberWeek-3

8 Write a Java program to illustrate the use of method overloading9 Write a Java program to illustrate the use of this keyword10 Write a Java program using constructor overloading11 Write a Java Program to invoke constructors using "Super"

Keyword12 Write a Java program to illustrate the use of method overriding(use

Super keyword).Week -4

13 Write a Java program to find power and square root of given values using system package java.lang and prints it.

14 Write a java program to create a package with three class’s definition in a directory and access these all classes into different directory by importing package.

15 Write a java program to implement multiple inheritances using interface concept.

Week-516 Write a Java program for multilevel inheritance.

17 Write a Java program to illustrate the use of division by zero

Page 2: ca8f4List of Lab Programs.doc

ASET

AMITY UNIVERSITY R A J A S T H A N

18 Write a Java program to illustrate of multiple catch clauses

19 Write a Java program to illustrate the use of try, catch and finally concepts.

Week-620 Write a java program for creating three child threads by extending

thread class.21 Write a java program to illustrate the use of isAlive() & join()

method in multithreading program.22 Write a java program to illustrate the use sleep() & stop() method in

multithreading program.Week-7

23 Write a Java program to illustrate the use of string length(), charAt() and equals() method of string class.

24 Write a Java program that checks whether a given string is aPalindrome or not. Ex: MADAM is a palindrome.

Week-825 Write an Applet that displays a simple message.26 Program to draw Line, Rectangles, Rounded Rectangles, arc and

Oval. Fill all shapes with different colors and display them.27 Write an Applet to draw smiley mouth face and String message on

applet window. Week-9

29 Write an applet to handling the mouse (MouseListener & MouseMotionListener) event using event handling mechanism.

30 Write an applet to handling the key event.Week-10

31 Write a Java program to create two buttons on applet using AWT and handle them by using event handling mechanism.

32 Write a Java program to create check boxes on applet using AWT and handle them by using event handling mechanism.

Week-1133 Write a Java program to create check box group on applet using

AWT and handle them by using event handling mechanism.

34 Write a Java program to create button on Japplet using swing.

Week-12 Internal Assessment(viva & internal practical)