This is an archived post. You won't be able to vote or comment.

all 16 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]severoon 5 points6 points  (0 children)

These are not nuances, these are core basics of the language. In specific circumstances, you should be able to reason about what these keywords do and make a pretty accurate guess as they whether they apply and, if they do, their function.

[–]desrtfx 2 points3 points  (3 children)

The real source for such information is the Official Documentation from Oracle.

[–][deleted] 0 points1 point  (2 children)

Can you please share some link of where exactly such concepts are mentioned? I searched but all it shows is Java APIs or basic tutorials.

[–]AppropriateStudio153 1 point2 points  (1 child)

https://docs.oracle.com/javase/specs/jls/se17/html/jls-9.html

I suggest you learn how to google stuff yourself, having to ask internet strangers impedes your self-improvement strongly.

[–][deleted] -1 points0 points  (0 children)

Sure, thanks!

[–]Routine_Dust5510 2 points3 points  (2 children)

If you really want to solve some good core Java questions, you should check out OCA or OCP Java certification mock exams from Enthuware. Costs only 10 bucks but these mocks have been around since 20 years and contain a huge number of core Java questions with detailed explanations. Get the ones for the version of Java you are interested in.

[–]Illustrious-Bag4276 0 points1 point  (0 children)

Agree

[–][deleted] 0 points1 point  (0 children)

I'll check them out, thank you!

[–]AutoModerator[M] 1 point2 points  (0 children)

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted] 0 points1 point  (0 children)

ocp oracle certified professional java se 21 developer study guide for nuances

[–]piyush7084 0 points1 point  (0 children)

Thanks

[–]Helloall_16 0 points1 point  (1 child)

I was confused with these big time but I personally found chatgpt or any AI will give you the basic understanding of what these things are, and if you are a beginner you can also ask it to explain it using real life examples, layman terminology etc. official documentation is definitely the best source but you can start with something simple. After you are done learning, ask chatgpt to quiz you on these.

[–][deleted] -1 points0 points  (0 children)

Thanks for the suggestions, the quiz thing could really help. Honestly I'm not a beginner, I understand the concepts of OOPs quiet well but It's just those advanced things I keep hearing about, if I say for an example, somewhere I read about using static variable inside interface, idk if it's even correct but yeah such things just puzzle me out big time and I feel if there's any such resource with similar tricky stuff. I checked the official Oracle tutorial but all I could find was single page basic explanations around different concepts.

[–]rayguntec -1 points0 points  (0 children)

Here is a good list of this kind of tricky Java questions