皇冠hg0088代理网址

Questions tagged [java]

Java is a popular high-level programming language. Use this tag when you're having problems using or understanding the language itself. This tag is rarely used alone and is most often used in conjunction with [spring], [spring-boot], [jakarta-ee], [android], [javafx], [gradle] and [maven].

Filter by
Sorted by
Tagged with
-3
votes
0answers
11 views

how to do it. only see up to the first 5 characters

[how to do it.] only see up to the first 5 characters the question is very short and simple; It doesn't matter what programming language you do this in it doesn't matter if the code is short or long. ...
0
votes
0answers
12 views

Math.random causing issue with conditionals?

I'm working on a Prisoner's Dilemma game for my assignment, and I've come across an issue. When I call this function, it receives the player's decision (1 or 2). The computer must also make a decision,...
0
votes
0answers
7 views

Which JDK version can I use to support Lombok version 1.16.16?

I have the following dependency in pom.xml <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional&...
0
votes
0answers
9 views

how to manage image base64 string from front-end in java spring boot rest

can anyone help me for understanding more about base64 string to save into some folder in server spring? for newbie like me of course, i didn't know what kind of type will be save into some folder in ...
0
votes
1answer
8 views

Flutter - Android Crash after try to minimize App Size

I try to reduce My App (AAB) Size by setting minifyEnabled to false. It's really significantly reducing my App size so I really want to use it. However, after Apps Opened for 3 seconds, it crash and ...
0
votes
0answers
8 views

How to get the desired output in JAVA

If there is a given String abcdaa/efgh/hidjk/lmno/pqrs/tuvw and int slashCounter=3, The desired Output should be - Output: abcdaa/efgh/hidjk/lmno (Basically if slashCounter=3 only alplabets upto 4th '/...
0
votes
0answers
5 views

Configuring JNDI datasource for Spring Boot 2.3.4 with Weblogic 12c

Hi I'm configuring JNDI datasource for Spring Boot 2.3.4 (JdbcTemplate) with Weblogic 12c. Using oracle 11g. Following is my application.properties file java.naming.factory.initial=weblogic.jndi....
0
votes
0answers
5 views

Testing Spring Cloud Stream app with kafka-streams binder

After trying a number of different setups, and reading many different guides, I'm still at a loss for how to write simple unit tests for Spring Cloud Stream processors that use the kafka-streams ...
1
vote
0answers
18 views

command line argument with variable name in java in specific format

I am trying to get a CLI for my class in the format of java demo --age 20 --name Amar --school Academy_of_technology --course=CS how do I achieve this. I saw one of the solutions and tried that over ...
1
vote
0answers
8 views

When i use type keyguard dialog then my screen stops working

I am developing a Lock Screen App that will lock the screen as well as apps that the user want to. Lock can be pin code or pattern lock and so far now when I activate a pin code or pattern lock then a ...
-8
votes
0answers
18 views

Seeking a freelance developer to build a game bot 🤖 [closed]

I’m currently seeking out a developer for a one-time freelance opportunity to build out a game bot.Let’s negotiate a price for the opportunity! Looking forward to hearing from you. Tanya
-1
votes
0answers
10 views

How can i make this code so that it shows no TLE for time complexity O(n^2)

Please try to find which due to which line I'm getting time limit exception on O(n^2) time complexity limit.
0
votes
0answers
8 views

i need a method to know how many images does the user take thin attach the images and if not send the other info

this app is for send quotation by fill name and address and email then take up to 6 images then by submit these info well send by email: //attachment part: messageBodyPart = new MimeBodyPart(); String ...
0
votes
0answers
18 views

Java 11 : Error:java: invalid source release: 11 - Not sure what to do anymore

Hello so i have upgraded from java 8 to java 11 and i get this error no matter what.I am using intellij and windows 10. What i have changed to 11: 1)In Project Structure -> Project: 2)Project ...
3
votes
1answer
44 views

How is method reference syntax working in Java 8

I am having some confusion of how method references work in Java 8. I wrote the following code segment for filtering hidden files in a folder. They are producing correct result. I am not understanding ...

15 30 50 per page
1
2 3 4 5
114470