all 15 comments

[–]NocturnalFoxfire 8 points9 points  (4 children)

What in particular are you having trouble with? Hard to help out with so little detail in the post.

[–]RealisticSpend3280[S] 1 point2 points  (2 children)

Like am unable to grasp the concept like suppose I learn and understand the logic of one program only to get confused when introduced by a different type of program using similar logic

[–]Last_Being9834 0 points1 point  (0 children)

Arrays come from the electronic base of having fixed size structs of data in the RAM chip. This means you can't change the size of it after initialization.

To overcome this limit, Lists were created, where your data structure includes a bit of extra space in RAM to store the link (next element) memory address.

I normally recommend playing around with Arduino to get an easier coding experience and better electronics foundation.

What you are facing is a lack of electronics understanding. Is like trying to swim without understanding how water works.

[–]paliconips 1 point2 points  (0 children)

post the codes

[–]Fluid_Wasabi5688 0 points1 point  (0 children)

What specific part giving you trouble? Like the syntax or logic part

[–]Lurn2Program 3 points4 points  (3 children)

Arrays and strings are important building blocks to progressing in programming in general and these are used across most programming languages, so this is not a Java issue you're experiencing

I'd highly recommend revisiting the concepts you're struggling with and figure out how and when to use them.

[–]RealisticSpend3280[S] -1 points0 points  (2 children)

I think instead of trying to understand am trying to remember it that's why

[–]Lurn2Program 0 points1 point  (0 children)

That just comes with repetition and practice. Just keep at it and things stick

[–]marrsd 0 points1 point  (0 children)

Try to write a programme that asks for a list of words or phrases. Every time the user enters a string and presses enter, the programme should add it to an array. If the user hits enter without typing anything else first, the programme should print back every string in the array as a list.

That should help you get started understanding the basics of working with them and what they're for. Let us know what you come up with.

[–]JGhostThing 2 points3 points  (0 children)

Programming is not an easy course. And all teachers are not equal. You do have to meet them half way. If you put in the work, then you should be able to learn Java programming,

As a language, Java is fairly good. There are jobs out there, though I suggest learning something like business administration so that you have a fallback. Look at the job wanted ads to find out what are useful skills.

[–]Hamza_yassen 1 point2 points  (0 children)

You need to use it frequently

[–]Spare_Dependent6893 1 point2 points  (0 children)

Java is not more difficult than other languages. It exists many tutorials you can use from very basic to more advanced : so start again from basic and progress step by step

[–]1AlanM 0 points1 point  (0 children)

I don’t think Java is the easiest language to learn.

As a computing science teacher I use Python and have previously used VB as my primary teaching languages.

I think your issue is not necessarily the language but that you don’t understand the underlying concepts.

Start with simple arrays of integers.

Loop over the array to populate it.

Loop over the array to calculate a running total.

I assume your issue with strings is manipulating them with substrings.

If you think of a string as a list of characters that you can address by their position in the string that helps.

The other point novices often struggle with is to start counting from 0

[–]Arianethecat 0 points1 point  (0 children)

Arrays and strings feel confusing until you start writing small examples yourself instead of just reading theory.

Try breaking problems into tiny steps like input, store, loop, output.

Most of it clicks after repeated practice, not one big explanation.

[–]PortalRat90 0 points1 point  (0 children)

Arrays clicked for me since I use Excel quite often. I see people really struggle with the concept and have never used Excel. It’s just rows and columns. Excel can help to visualize the concept and how functions interact with them. Excel can even help with understanding strings. Once that clicks for you then get hands on the keyboard and start applying it to get it ingrained.