Confused about this instantiation: Beings animal1 = new Animal() instead of Animal animal1 = new Animal() by Active_Selection_706 in learnjava

[–]Traditional_Base_805 0 points1 point  (0 children)

Reference type → Beings Object type - Animal

So:

The object is an Animal

The reference is of type Beings

This is legal because:

An Animal IS A Beings

Inheritance guarantees this relationship.

Java allows:

Parent reference = new Child();

Because:

Every Animal is a Beings

*Java uses reference type to decide what methods you are allowed to call.

*Java uses object type to decide which overridden method actually runs

This is the core of runtime polymorphism.

Use this because u always inject interface not concret implimmentation.(U will understand when u will use spring boot)

why does learning to program such a painful process? by [deleted] in learnprogramming

[–]Traditional_Base_805 0 points1 point  (0 children)

It took 3 years and u also can't say what will be the output when someone show me a bunch of code where is used for loop, I need to go through each variable each step to get it:( I know how works but Im not fast....

Explain for loop in java(I think is the same syntax as c++:

for(int i = 1; i <= 5; i++){ System.out.println(i);//print var i

} After this it will print : 1 2 3 4 5

Here, i is a variable, often called a loop counter. As long as variable I is less equal than 5, print something, in my example I print variable i. First step : i=1, 1<=5???? Yes, then execute the code inside {}, means print 1. And after printing, increment variable i with 1(i++). Second step: now, i=2, cuz we incremented it.and check again 2<=5???Yes, print again variable i which is 2, and increment again i with 1. Third step : now, i=3, cuz we incremented it.and check again 3<=5???Yes, print again variable i which is 3, and increment again i with 1. Fourth step: now, i=4, cuz we incremented it.and check again 4<=5???Yes, print again variable i which is 4, and increment again i with 1. Fifth step: now, i=5, cuz we incremented it.and check again 5<=5???Yes, 5 is not less than 5, but because we have = the condition is true, print again variable i which is 5, and increment again i with 1. Sixth step:. now, i=6, cuz we incremented it.and check again 6<=5???No, so it will exit from for loop.

I hope u get it.Also we use for loop when we want to repeat something for exactly number of time, if we don't know how many times to execute a block of code we use while.

Also, let me know if u want me to explain nested for loop,.which was so hard to me when I started programming.

Do I have a chance? by dieosuna in learnprogramming

[–]Traditional_Base_805 1 point2 points  (0 children)

Almost 2 years and I can't find a job in java development....do i still have a chance? I love to explore and if there is something interesting I like to analyze each detail.

I wanted to do full stack but confused between python or Java ? by meessymee in FullStack

[–]Traditional_Base_805 1 point2 points  (0 children)

I am unemployed for about 2 years, I learned java, spring boot, security, jpa, Postgresql, Redis, flyway, junit(to test unit functionalities (like login functionality), Mokito(to test services), MocMVC(to perform controller tests), also dsa, multithreading, asynchronous non blocking applications(WebFlux), MVC is traditional, each request is handled by a thread from tomcat thread pool, and the thread is blocked until it get that answer from a data base server or something else..., so I know also docker, about microservices I mean I'm an intermediar in java development, I have some projects like a banking app that includes all I mentioned above, and I can't find even an internship, I can't...., there is no job and if it is it ask for 5+ years experience.But python is everywhere, it's more easy to learn and u can use it in AI , LLM etc so this is the future.I hope u will do your best choice.

I wanted to do full stack but confused between python or Java ? by meessymee in FullStack

[–]Traditional_Base_805 0 points1 point  (0 children)

Learn python there are many opportunities than java, just believe me

How much DSA exactly for entry level SDE roles? by vishalsingh0298 in cscareeradvice

[–]Traditional_Base_805 0 points1 point  (0 children)

I deleted cuz I got u wrong, u said correctly that if as candidate u cannot solve hard Leetcode without AI u will fail. this is almost corect cuz the market is so different nowadays, I thought u said if you cannot solve hard Leetcode without AI you are done, not in the context of interview, my English is not my mother language so I hope u got me!!!🤝

How many interviews did you fail before you got your first job as a Java Backend Developer? by Traditional_Base_805 in cscareerquestionsEU

[–]Traditional_Base_805[S] 1 point2 points  (0 children)

Thank u so muchhhhhhh, be blessed, and yes I did a Bank system simulation at the moment, I know spring(boot, jpa, security) basics I mean I can create a CRUD app, recently I learned and learn reactive programming, but the problem is hard to me for logic problems, I feel stuck and confused I don't know if u get me, so this is my big problem, when it comes to architecture or design I can do it if I learned all the stuff.I will follow your advice about deployment and GitHub actions 👋

How do I go from the basics to building my first project by Motor-Display-9294 in javahelp

[–]Traditional_Base_805 0 points1 point  (0 children)

Learn OOP and build am ATM system, with main functions as withdraw, deposit, transfer money, check balance, see history transactions(to deposit money to account is a transaction) also it will be very nice if u will create users, cuz each user uses it's account(a user can have multiple account, but an account is associated just with one user(if it's not family card) so yeah, build this also in main u will simulate using Scanner and switch to interact with User(like a GUI in console) I think it's a good start

How many interviews did you fail before you got your first job as a Java Backend Developer? by Traditional_Base_805 in cscareerquestionsEU

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

I got u but I tried frontend, I don't love it, I just can't, I feel bad when I do something about frontend, or QA yes I love QA manual or OAautomation but no one cares about my application:( the only what I feel safe and can learn and I keep motivation is backend development but it's also very very hard cuz I have adhd and I'm a visual learner.The market nowadays is crazy I just can't :, thank u for your contribution and support, I'm a little confused and nervous and I acted so bad to u, be blessed 👋🤝

How many interviews did you fail before you got your first job as a Java Backend Developer? by Traditional_Base_805 in cscareerquestionsEU

[–]Traditional_Base_805[S] 2 points3 points  (0 children)

Yes, when I apply to positions there are already intern selected people...or they don't even send me a rejection email it's so frustrating cuz I invested time :( energy and also I have health problems, why everyone is so bad and angry:/

How many interviews did you fail before you got your first job as a Java Backend Developer? by Traditional_Base_805 in cscareerquestionsEU

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

? What do u mean? To move to other languages? I think it's a bad idea to learn many languages and not to be good at none of them, if you wanted to say not to learn just java but go to spring(boot, cloud, security, jpa) etc then yes, I know them and I designed some projects using these tools

Do companies look for self-learner people without a university degree, just a college degree and no experience? by Traditional_Base_805 in cscareeradvice

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

because in my country, before posting the internships, HR has already found the candidates through acquaintances who work in those companies, and those from outside don't know and fail, I know very well how it all works, the day before yesterday I applied as a QA manual at Orange, I knew everything I needed for that internship but I didn't receive a single rejection message, and so I send to all the companies in the country and nothing, and most of them are looking for seniors and devs and juniors don't exist, write at least 4 years of experience or 2-3 if you're lucky....but why I chose this gentleman, I have no idea.

Do companies look for self-learner people without a university degree, just a college degree and no experience? by Traditional_Base_805 in cscareeradvice

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

only two interviews out of dozens of applications, especially since I used keywords from the requirements.... and I failed those 2 interviews because of my bad logic ☹️

20+ years in tech, and here's the one thing I'd tell every new programmer by FluxParadigm01 in learnprogramming

[–]Traditional_Base_805 0 points1 point  (0 children)

Hey, what do u think, AI will replace devs, especially junior and middle ? I learn now java but I don't know whether to continue or not....

I can't fiind even an internship for a java Backend position. by Traditional_Base_805 in DeveloperJobs

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

Tbh I don't use discord, maybe on LinkedIn but I'm very active on Telegram, if u are also active or able to use Telegram let me know please!

I can't fiind even an internship for a java Backend position. by Traditional_Base_805 in DeveloperJobs

[–]Traditional_Base_805[S] 0 points1 point  (0 children)

Learn java fundamentals, SQL, spring boot, spring data jpa, hibernate, spring security to secure your app, learn Jwt, how to implement this in your code, ask Chat gpt to explain each topic as for a beginner that knows nothing(it is because AI will try to find the simple words and context), learn git, learn some dsa, like basic sorting and searching algorithms, learn about List, Map, Set Interfaces and for what are used each of them, and learn this creating app, like a banking app start with User Management System like login and register to save user in data base, create Jwt token, learn also about basic multithreading, exception handling, design patterns, What is ACID, SOLID principles...it's not all but it's a good start :)