JavaBot
JavaBot
JCHJava Community | Help. Code. Learn.
Created by Piglet | **NEED** tone tags!! on 9/21/2024 in #java-help
prepping for an exam, new to java & might need help understanding some stuff
This post has been reserved for your question.
Hey @Piglet | NEED tone tags!!! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
51 replies
JCHJava Community | Help. Code. Learn.
Created by Piglet | **NEED** tone tags!! on 9/21/2024 in #java-help
prepping for an exam, new to java & might need help understanding some stuff
51 replies
JCHJava Community | Help. Code. Learn.
Created by 40г белка on 9/20/2024 in #java-help
Need help w init kafka consumer (have an error w listenner)
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
9 replies
JCHJava Community | Help. Code. Learn.
Created by blue on 9/20/2024 in #java-help
system doesn´t end once I enter -1 in the console how can I change that
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
9 replies
JCHJava Community | Help. Code. Learn.
Created by ! [null] Structure on 9/20/2024 in #java-help
Need help fast pls (minecraft code)
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
6 replies
JCHJava Community | Help. Code. Learn.
Created by blue on 9/20/2024 in #java-help
system doesn´t end once I enter -1 in the console how can I change that
import java.io.*;

public class Solution {
public static void main(String[] args) throws Exception {


BufferedReader intro = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(intro.readLine());
int c = Integer.parseInt(intro.readLine());
int b = Integer.parseInt(intro.readLine());

while(a==-1 || b == -1 | c==-1 ) {
if (a == -1) {
System.out.println(a);


}

else if (c == -1) {
System.out.println(a + c);

}

else if (b == -1){
System.out.println(a + c + b);
// ansonsten geht es endlos weiter
}
break;
//Problem system doesn´t end once I enter -1 in the console how can I change that
}``
import java.io.*;

public class Solution {
public static void main(String[] args) throws Exception {


BufferedReader intro = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(intro.readLine());
int c = Integer.parseInt(intro.readLine());
int b = Integer.parseInt(intro.readLine());

while(a==-1 || b == -1 | c==-1 ) {
if (a == -1) {
System.out.println(a);


}

else if (c == -1) {
System.out.println(a + c);

}

else if (b == -1){
System.out.println(a + c + b);
// ansonsten geht es endlos weiter
}
break;
//Problem system doesn´t end once I enter -1 in the console how can I change that
}``
9 replies
JCHJava Community | Help. Code. Learn.
Created by blue on 9/20/2024 in #java-help
system doesn´t end once I enter -1 in the console how can I change that
This post has been reserved for your question.
Hey @blue! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
9 replies
JCHJava Community | Help. Code. Learn.
Created by blue on 9/20/2024 in #java-help
system doesn´t end once I enter -1 in the console how can I change that
9 replies
JCHJava Community | Help. Code. Learn.
Created by 40г белка on 9/20/2024 in #java-help
Need help w init kafka consumer (have an error w listenner)
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
9 replies
JCHJava Community | Help. Code. Learn.
Created by ! [null] Structure on 9/20/2024 in #java-help
Need help fast pls (minecraft code)
This post has been reserved for your question.
Hey @! [null] Structure! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
6 replies
JCHJava Community | Help. Code. Learn.
Created by ! [null] Structure on 9/20/2024 in #java-help
Need help fast pls (minecraft code)
6 replies
JCHJava Community | Help. Code. Learn.
Created by asdru on 9/19/2024 in #java-help
scanner blocking thread close
24 replies
JCHJava Community | Help. Code. Learn.
Created by 40г белка on 9/20/2024 in #java-help
Need help w init kafka consumer (have an error w listenner)
This post has been reserved for your question.
Hey @iamrutra (Artur)! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
9 replies
JCHJava Community | Help. Code. Learn.
Created by 40г белка on 9/20/2024 in #java-help
Need help w init kafka consumer (have an error w listenner)
9 replies
JCHJava Community | Help. Code. Learn.
Created by asdru on 9/19/2024 in #java-help
scanner blocking thread close
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
24 replies
JCHJava Community | Help. Code. Learn.
Created by Ghostyjangle on 9/20/2024 in #java-help
[Spring] Should I have a custom Objectmapper as a static attribute in my service class?
23 replies
JCHJava Community | Help. Code. Learn.
Created by Ghostyjangle on 9/20/2024 in #java-help
[Spring] Should I have a custom Objectmapper as a static attribute in my service class?
If you are finished with your post, please close it. If you are not, please ignore this message. Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
23 replies
JCHJava Community | Help. Code. Learn.
Created by Ghostyjangle on 9/20/2024 in #java-help
[Spring] Should I have a custom Objectmapper as a static attribute in my service class?
This post has been reserved for your question.
Hey @Ghostyjangle! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
23 replies
JCHJava Community | Help. Code. Learn.
Created by Ghostyjangle on 9/20/2024 in #java-help
[Spring] Should I have a custom Objectmapper as a static attribute in my service class?
23 replies
JCHJava Community | Help. Code. Learn.
Created by ' .•` KIΛ.RΛR ’•. ' on 9/19/2024 in #java-help
Gradle & Java Version
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
18 replies