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

OOPs With Java Practicals

Uploaded by

harshajoddd
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 views7 pages

OOPs With Java Practicals

Uploaded by

harshajoddd
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

Practical No: 01

write a program to display Hello World message in console window.


Practical No: 02
Write a program to perform arithmetic and bitwise operations in a single source program without object creation
Practical No: 03
Write a program to perform arithmetic and bitwise operations by creating individual methods and classes than create an object to execute
the individual methods of each operation.
Practical No: 04
Write a java program to display the employee details using Scanner class.
Practical No: 05
Write a Java program that prints all real solutions to the quadratic equation ax2+bx+c = 0. Read in a, b, c and use the quadratic
formula. If the discriminate b2-4ac is negative, display a message stating that there are no real solutions?
Practical No: 06
The Fibonacci sequence is defined by the following rule. The first 2 values in the sequence are 1, 1. Every subsequent value
is the sum of the 2 values preceding it. Write a Java program that uses both recursive and non- recursive functions to print
the nth value of the Fibonacci sequence
Practical No: 06 (using recursion)

You might also like