Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to give reference key word in java program

+6 votes
asked Jul 29, 2022 by Pooja R (220 points)

2 Answers

+1 vote
answered Jul 30, 2022 by Peter Minarik (84,720 points)

I am really not sure what you're after.

There is a Reference class in Java. See the documentation here.

Full Java documentation here.

0 votes
answered Aug 2, 2022 by 07-18- P.Dhilip (150 points)

welcome

System.out.println("welcome");

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...