
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Object Oriented Programming
Example of Reference Variable class Student { String name; } public class Main { public static void main(String[] args) { Student s1 = new Student(); // reference variable s1.name = "Ali"; System.out.println(s1.name); } }
Real-Life Analogy Think of: