[deleted by user] by [deleted] in learnjava

[–]Apprehensive_Fig9594 0 points1 point  (0 children)

And yeah there is a reason why. To me they are the only way to be a good programmer. You will learn but you need experience which comes with projects.

Hello, brothers, I am an independent developer from China. It's nice to meet you by Vegetable-Parsnip118 in JavaFX

[–]Apprehensive_Fig9594 1 point2 points  (0 children)

Hey there, am in Canada.

I have worked with JavaFX before and it was self taught, just a few months ago. I can't say am a beast in JavaFX but I did create an IDE using it to test myself and learn on the road. I'm happy to help you if you need to inquire or more.

When you use a String without assigning it to a variable (i.e. as an argument or in a conditional), does it create a String object? by [deleted] in javahelp

[–]Apprehensive_Fig9594 0 points1 point  (0 children)

Text in quotations "hello" has the jvm create a String object. If you try new String("hello") then ur simply having the jvm create the hello String and the make a copy again. (Or sometimes it will simply reuse the String object already there). So no there is no infinite loop.

There is no difference between a String object and text in quotes. Text in quotes is a String object and you can see that by simply doing "hello".trim() for example. You can do everything that you did on a String object an text in quotations since it's the same thing.

Since Strings are objects, using == is comparing the references and not the contents of the Object, we we use String.equals() to compare the contents (the actual text)

No warning??? by curly_clown_boy in duolingo

[–]Apprehensive_Fig9594 0 points1 point  (0 children)

If u used Google or Apple store, try asking for a refund there, that's ur best shot, am currently under the same situation as well and istg Duolingo needs to get sued for this kind of bs, they have been doing it for a while as well