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.

I'm trying to print the info of a subject in the main class from Subject class but it's showing can't find symbol.

+2 votes
asked Sep 21 by Ramya-Tavva (140 points)

2 Answers

0 votes
answered 6 days ago by Peter Minarik (58,220 points)

You should name your file Subject.java, not Subject.

I'll let you fix the other issues. Ask if you need more help!

Good luck! :)

–1 vote
answered 1 day ago by raj (130 points) 1 flag

(Computer is a pythan system )laugh 

  1. RS sharmadevil

Shari rameshwarm vidyapeeth se sec school smiley

Raj sharma studey in schoolyes 

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.
...