Java Practical Program

 


Sr.no

Name of Practical

View

1

Write a Java Program to display all the ovals form given string

 

View

2

Write a java program to cheek whether given number is Armstrong or not (use static keyword)

 

View

Write a java program to calculate area of circle, triangle and rectangle (use method overloading)

 

View

4

Write a java program to calculate following Pattern

5

45

345

2345

12345

View

5

 Write a java program to accept a number from the user, if number is zero then throw user defined Exception “Number is 0” otherwise calculate the sum of first and last digit of a given number (Use static keyword)

 

View

6

Java program to count number of digits spaces and charter from a String

 

View

7

Write a java program to accept n_emplyoee name  for user sort them in ascending order and display them (use array &object and static keyword)

View

8

Write a java program to accept details of ‘n’ cricket players (p id, p name  ,total runs ,inning plied , not out time ) calculate the average of all the players display the details of player having maximum average

View

9

Write a java  program to calculate area and volume of a cone . (use super keyword)

 

View

10

Write a java  program using swing to calculate simple arithmatic calculator

 

View

11

Write a java  program to create a simple calculator using swing

( add,sub,mult,div)

 

View

12

Write a program by using class with the following specifications:

Class name — Sale

Data members/ Instance variables:

String title, author,publication

double price

Member methods:

void input() — to accept title, author name and publication name and price of a book

void display() — to display title, author name and publication name and price of a book

View

Post a Comment

Previous Post Next Post