This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
764
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: 1 day ago
Posts updated: 3 days 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
- 2 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/csMajors/co...