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

jpr practical

The document outlines a list of practical programming assignments for the Computer Engineering department at Bhivrabai Sawant Polytechnic. It includes tasks such as demonstrating the use of control statements, implementing inheritance, creating applets, and handling exceptions in Java. The assignments are designed for students in the fourth semester of the JPR course, focusing on various programming concepts and techniques.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views2 pages

jpr practical

The document outlines a list of practical programming assignments for the Computer Engineering department at Bhivrabai Sawant Polytechnic. It includes tasks such as demonstrating the use of control statements, implementing inheritance, creating applets, and handling exceptions in Java. The assignments are designed for students in the fourth semester of the JPR course, focusing on various programming concepts and techniques.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

JAYAWANT SHIKSHAN PRASARAK MANDAL’s

Bhivrabai Sawant Polytechnic


(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE
Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone: 020 – 65335100 Tele fax: - + 91-020-65335100
E-mail: [email protected] Website: www.jspm.edu.in

Department of Computer Engineering


LIST OF PROGRAMS FOR PRACICAL
Course: JPR Course Code :22412 Semester : IV
1. Develop Programs to Demonstrate use of Switch Case Statement
2. Develop Programs to print command line argument using for loop
3. Write a program to display number 1 to 50 using do while loop
4. Write a program to implicitly typecast lower range datatype to larger storage size
data type
5. Write a program to convert variable of basic datatypes and show results of explicit
typecasting
6. Write a program to accept two numbers as command line arguments and print the
addition of those numbers.
7. Develop a Programs for implementation of Multiple Constructor In a class to
perform addition of numbers
8. Write a program to show use of all methods of string class
9. Write a java program to implement following functions of string :
(1) Calculate length of string
(2) Compare between strings
(3) Concatenating strings
10. Write a program to show use of all methods of string buffer class
11. Write a program to display array elements using for each loop
12. Write a program to accept two numbers as command line arguments and print the
addition of those numbers.
13. Write a program to use different methods in vector class
14. Write a program to convert string value into integer Wrapper class object
15. Develop a program to extend ‘dog’ from ‘animal’ to override ‘move()’ method using
super keyword
16. Write a program to check whether given number is prime or not.
17. Develop a Programs for implementation of Single and Multilevel inheritances
18. Write a program to implement above inheritance.

19. Write a java program to display all the odd numbers between 1 to 30 using for loop
& if statement.
20. Develop a Program to import different classes in package.
21. Write a program to create an applet to display message. “Welcome to java applet”.
22. Create three threads and run these threads according to set priority
23. Write a program to create two threads, one to print numbers in original order and
other in reverse order from 1 to 10.
24. WAP to accept a password from the user & throw “Authentication failure ”
exception if the password is incorrect.
25. Develop a program to throw a user defined exception if the given number is not
positive.
26. Write program that Define an exception called "No match Exception‟ that is
thrown when a string is not equal to “MSBTE”.
27. Develop a program to create two threads such that one threads displays the message
“How do you do?” and the other thread displays the message “Fine, Thank you!”
28. Write the applet program to draw square inside circle.
29. Write an applet program to draw rectangle which is filled with red color.
30. Develop a program to copy the contents of the file “abc.txt” into a new file “xyz.txt”.

You might also like