Skip to content

Instantly share code, notes, and snippets.

View Piyush-rathore's full-sized avatar

Piyush Rathore Piyush-rathore

  • Mathura
View GitHub Profile
@Piyush-rathore
Piyush-rathore / OneToOneDemo.java
Last active September 18, 2021 16:29
HAS-A Relationship
class Employee
{
String empid;
String empname;
Address addr;
Employee(String empid1, String empname1, Address addr1)
{
empid=empid1;