r/learnjava • • Jun 02 '19

Want to "impress" company that I am going to visit (as a 15 y.o kid) with something made in Java.. How ?

0 Upvotes

Hello everyone,

I am 15 y.o kid that enjoys programming. I use C++ for competitive programming, used Python to win one competition (country-level) and to get visit in one company to ask them some questions. That company uses Java. So far, I finished basic course, so I know OOP and understand it. Can write code and read it, too. But, there's a problem.

I don't think that will help me to "impress" them. I want to ask you: Which libraries to use to make project that has some GUI interface (not way too much complicated) and has to do something with data ?

I wrote 1100 lines of Python code (alone) to make web scraper. I think that would pretty much amaze them, but if I used some of their technologies, it would be even better. Also, I attended one seminar and course (for Java) that they are sponsors. Any help, please ? Also, would you consider learning to make Android apps, and would it be hard ? Could it be done in one month ?


r/learnjava • • Nov 25 '16

Starting to learn java. Looking for a good website that I can learn from

1 Upvotes

As the title says I'm looking for some way to learn java, it can be from websites or videos.


r/learnjava • • Feb 21 '17

Really want to learn Java

1 Upvotes

Hey everyone I really want to learn java as it is the language I have the most experience with and also want to learn android later down the line. Currently I have a udemy course but video tuts are not really my thing anyone know of the best Java book that helped them and I saw a few people recommend MOOC can anyone atest to the quality of their lessons?

Thank you all so much


r/learnjava • • Nov 04 '14

I'm trying to catch up in college work. One of the exercises is making two classes according to a UML diagram, and I have no clue what they're on about

1 Upvotes

This is the diagram: imgur

I have some basic knowledge of UML and I know what kind of methods with which parameters and arguments they require etc, but I don't understand what this code is supposed to do. They told me 'use array lists'. Do they want me to make an array list of dates DateSet to which I can add objects of Date? I got some online tutoring through InstaEdu, but all the guy did was type out the code without much explanation. I'm very behind on coursework as I found it hard to keep up, so please, ELI5.

Thanks in advance,


r/learnjava • • Jul 25 '15

Work with PDF files in Java,Simple And Amazing [Article]

Thumbnail
radixcode.com
0 Upvotes

r/learnjava • • Jul 29 '15

Java and C++ Video Tutorial – Use Java Native Interface to create Text-to-Speech application

Thumbnail
blog.keinesorgen.net
1 Upvotes

r/learnjava • • Mar 13 '23

How often do you do/use this in your job?

1 Upvotes

Hi,

I have a few things of which I wanted to know if you guys deal with this in your day to day jobs.

  • 1: how often do you use the scanner class?

  • 2: do you manually type getters, setters and toString or do you use your IDE for that?

  • 3: How often do you get confronted with the fact that you need to know what an primitive and reference variable is?

All thought are welcome :)


r/learnjava • • Jul 06 '21

Please explain this code involving the Regex - Compile method

1 Upvotes

What do the characters inside the braces exactly mean in the below code? Please explain each character. Or maybe link an article where this (the method) is explained in detail.

Pattern p = Pattern.compile("<(.+)>([^<>]+)(</\\1>)"); 

I tried finding it for an hour but can't find a proper explanation for this.

The whole code: LINK.


r/learnjava • • Jun 26 '21

Someone help me with these questions. Thank you

1 Upvotes

Q1 - can we declare a subclass as final? if yes then does that mean we cannot inherit any more classes from it? Q2 - I know that we cannot override a method after its declared final, what if a overridden method from sub class is declared final? is it possible?


r/learnjava • • Oct 31 '23

What is my Java level?

1 Upvotes

doing Java for a while, and would like to hear am I mid level, higher mid, etc, based on my coding which includes:

writing external libraries that are used in another apps (fatjarring) use various services as a part of my design, mostly I use Kafka for inter-service communication.

I have expanded them, so http api can be used. maven, database, etc, no need to mention, I guess

patterns started from Singletone, moved to Factory, ended with various other (like Strategy), but all for a reason

I use multithreading for listening to several kafka/mq channels, and then in another thread clean the data and send them over mq to another (my) service.

I use param files, etc and avoid hard coded values. logging also included.

finally, I have designed it all by myself, with very vague requirements

what I do not use: SpringBoot, JDK Flight Recorder or other Java performance monitoring, nor advanced concurrency (like StructuredTaskScope), pattern matching, Java Streams


r/learnjava • • Jan 03 '21

I am not a programmer. How to download .jar file from jnlp?

1 Upvotes

Hi, I want to download jar file from jnlp. Since I don't know about programming. I don't know, whether I am putting it in right words or not. I am a health care worker and there is a computer to see patient records. So when I click on some x ray/USG/MRI scan , java web start launch programme automatically loads some jnlp file and loads the mri/x ray file. But it's available only when I click it and I won't see any option to save that mri/x ray report offline. Is there any way to do it? Thank you.


r/learnjava • • Nov 08 '16

Container Tricks for Java Developers: Free Guide

Thumbnail
jelastic.com
1 Upvotes

r/learnjava • • Mar 13 '19

Good examples of OOP in Java

1 Upvotes

Looking for some good tutorials and examples to better understand!

Thanks in advance! :)


r/learnjava • • Jul 09 '15

Basic Introduction To JAVA and Printing “Hello World”

Thumbnail
topwhatsup.com
1 Upvotes

r/learnjava • • Mar 23 '15

Java For Advanced Users

1 Upvotes

Hey Reddit Users! I made a new Java course that's a follow up on my intro course. This will deal with networking, collections, and file i/o so you won't want to miss it! It's only $1 so I made it really cheap to buy! https://www.udemy.com/using-java-for-advanced-applications/?couponCode=Dollar


r/learnjava • • Apr 09 '15

How Generic Works in Java

Thumbnail
javarevisited.blogspot.sg
1 Upvotes

r/learnjava • • Mar 30 '15

How to make Immutable objects in Java?

Thumbnail
javarevisited.blogspot.sg
1 Upvotes

r/learnjava • • Jan 16 '14

Learn Java with LearnStreet's Java for Dummies Online Course

Thumbnail learnstreet.com
0 Upvotes

r/learnjava • • Dec 16 '14

How to use this command?

0 Upvotes

this.setIconImage(); Based on what I have read, I assume that this is the command to change the icon in the top left corner of the JFrame. If so, what do I put in the parenthesis? and where do I put the image? Also what size image would it have to be?

Thanks


r/learnjava • • Sep 03 '15

I need programming help

1 Upvotes

Ok so i really wanna learn to code but i don't know where to start. It's because i wanna learn Java for programming apps for Android devices, but i can't find a place to start.


r/learnjava • • Oct 12 '16

Strategy Pattern, 5 examples from Java core | java design patterns

Thumbnail
softwaredevelopmentstuff.com
1 Upvotes

r/learnjava • • Oct 29 '21

Want to learn Java

0 Upvotes

I want to learn to program java from 0, some guide, page, book or something similar that you guys recommend and that is UPDATED


r/learnjava • • Jun 22 '22

Missing '}' or illegal start of expression

1 Upvotes

Hello,

The code below is presenting a "missing '}' or illegal start of expression" error. I'm kind of confused what could be causing this. I'm sure it is very simple but I'm obviously not understanding why this boolean return isn't allowed.

public boolean array123(int[] nums) {
  boolean seqExist = false;
  for(int i = 0; i < (nums.length-2); i++){
    if (nums[i] == 1) && (nums[i+1] == 2) && (nums[i+2] == 3) {
      seqExist = true;
    } 
  }
  return seqExist;
}

r/learnjava • • Feb 28 '19

Spring: grown too big, too complicated?

0 Upvotes

Spring Framework was initially designed in the 2000s as an alternative to Java EE, which was too heavy and complicated.

However, Java EE has improved much since then. Developing an EJB, web app or web service today is not as bad as 15 years ago. They are mostly POJO classes with annotations, EL, JSTL and JSF have made JSP better, and the IDE/ant/maven/gradle today are doing the necessary WAR/EAR packaging well.

Today I pick up a book to learn Spring Framework, and waded painfully through Spring Core IoC, AOP, and then Spring MVC. It seems to me that Spring is no longer as intuitive and simple as when it first started, and has grown into quite a monster itself. Like the original Java EE it aspired to replace.

So my question is whether Spring is still relevant today for new Java enterprise projects (web apps, web services)? I know it's still widely used by enterprises, but I think it's because their software engineers/programmers/developers are using it out of familiarity and to integrate it with other legacy applications built on Spring.

Due to its complexity, does it actually help speed up or improve application development or the developers actually spend more time trying to figure out how to use Spring properly?

What are your thoughts?