[go: up one dir, main page]

0% found this document useful (0 votes)
9 views2 pages

java_Index[1]

jj

Uploaded by

pbunty4471
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)
9 views2 pages

java_Index[1]

jj

Uploaded by

pbunty4471
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/ 2

INDEX

PEN:
NAME:
SUBJECT: 1330505 (Object-oriented Programming with JAVA)
SR. DATE TITLE PG. NO GRADE SIGNATURE
N0
1 A.WAP to print “Hello World”.
B.WAP to add two Numbers.
2 WAP to Check Even or Odd
Number
3 WAP to calculate compound
interest.
4 WAP to print following pattern.
1
12
123
1234
12345
5 WAP to swap Two Numbers

6 WAP Find the Largest Among


Three Numbers.
7 WAP Check Whether a Number
is Prime or Not.
8 WAP to print Pascal triangle.

9 WAP to reverse number.

10 WAP to display Fibonacci series


using loops.
11 WAP to create a class to find out
whether the given year is leap
year or not. (Use inheritance for
this
program)
12 WAP to demonstrate single
inheritance, multilevel inheritance
and hierarchical inheritance.
13 WAP to create interface area.
Create 3 classes called rectangle,
triangle and square .Calculate
areas respectively.
14 WAP Write a program that accept
a string from command line and
arrange all the characters in
alphabetic order e.g.- Input-
Computer, Output - cemoprtu
15 WAP to demonstrate use of this
keyword. Check whether this can
access the private members of the
class or not.
16 WAP to demonstrate implement
of two interfaces in other
interface.
17 WAP to implement Comparable
interface.
18 WAP to implement Cloneable
interface.
19 WAP to multiply two matrices.

20 WAP to demonstrate use of final


class.
21 WAP to develop user defined
exception for 'Divide by Zero'
error.
22 WAP to demonstrate multiple try
block and multiple catch
exception.
23 Write a small application in Java
to develop Banking Application
in which user deposits the amount
Rs
1000.00 and then start
withdrawing of Rs 400.00, Rs
300.00 and it throws exception
"Not Sufficient Fund" when user
withdraws Rs. 500 thereafter.

You might also like