0% found this document useful (0 votes)
37 views

OOPS LAB Exercise 7 by Abhishek Aggarwal

This document outlines an experiment involving object-oriented programming concepts in Java. It involves creating a user-defined package that contains a class with a method, and importing that package in another program to access the class's method. The experiment has two parts - creating a package with a class and method, and importing that package in another program to call the method.
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)
37 views

OOPS LAB Exercise 7 by Abhishek Aggarwal

This document outlines an experiment involving object-oriented programming concepts in Java. It involves creating a user-defined package that contains a class with a method, and importing that package in another program to access the class's method. The experiment has two parts - creating a package with a class and method, and importing that package in another program to call the method.
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

OOPS LAB

Experiment 6
Name- Bhoomi Tiwari
Sap Id- 500093923
Batch- B4 CCVT
1. Write a Java program to implement the concept of importing classes from user defined package
2. Write a program to make a package Balance. This has an Account class with Display_Balance method. Import
Balance package in another program to access Display_Balance method of Account class.

You might also like