765
Accidentally declared my Java class “pubic” instead of “public
Post Body
So, in Java class today, we were working on a simple program, and I confidently typed out pubic class MyClass instead of public. It took me (and my classmates) a solid 5 minutes to figure out why my code wouldn’t compile. 😳
Let’s just say… the typo got a lot of attention. Guess Java doesn’t support “private parts” in your code!
Author
Account Strength
60%
Account Age
1 year
Verified Email
Yes
Verified Flair
No
Total Karma
749
Link Karma
569
Comment Karma
180
Profile updated: 4 days ago
Posts updated: 1 day ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 3 weeks ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/csMajors/co...