code tag

445 questions


2 answers
60 views
0
Java's standard unreachable statement

I wrote the code that came out of the standard Java code and tried it.public class SampleNameFor { public static void main(String[] args) { Loop1:for (int i = 2; i <= 9; i++) { for (int j = 1; j ...

2 years ago

1 answers
120 views
0
I want to know how to get map data and how to measure distance on map data.

Hello. I wrote this to ask you a few questions.I want to measure the distance on the map data using Swift's language. However, even if I look at the public data API or the Ministry of Land, Infrastruc...

2 years ago

1 answers
28 views
0
[Python] Check str.count('') and len(str) for empty strings

a=''b='a'print(len(a))print(a.count(''))print('\n')print(len(b))print(b.count(''))If you squeeze the cord like this,0112The results come out like this, but I don't understand how to count in count.

2 years ago

1 answers
121 views
0
I don't know what it means to get Objecto as a parameter.

public int compareTo(Object o)CircleTwo c = (CircleTwo) o;Here, I don't know what the parameter Objecto in CompareTo points to.And do you mean to convert (CircleTwo) o in the second line?Code with the...

2 years ago

1 answers
140 views
0
Why do you put "b" in front of the string?

my_string = b'The string'They put b in front of the string like this, and I wonder what it means, what influence it has, and when it is used.

2 years ago

2 answers
133 views
0
Is there a way to position it divided into auto-layout ratios (ex. positioned 1/3 of the device)

When using Auto Layout, is there a way to make sure that the subview is located one-third of the device?

2 years ago

1 answers
44 views
0
xcode-select: error updating js package

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instanceThe Mac is trying to update the package via ...

2 years ago

1 answers
139 views
0
Python List Sorting in Korean and English

When sorting the Python list, English comes first, but is there a way to make Hangul come first?names = [C, AB, N, L, DA, AA, D]sorted(names)# # Output[AA, AB, C, DA, A, N, D]# # Desired Output[a, n, ...


1 answers
41 views
0
I'm curious about the Notification options through Firebase.

I have currently configured Notification through FirebaseHowever, when using the app, we want to make it possible for the user to sound, remove, or modify the alarm as desired. Is it possible? Or is i...

2 years ago

2 answers
115 views
0
What are the criteria for creating methods in the class?

Is it better to write a method and function from the top and have an api function that has a lower stack as you go down? Conversely, is it better to write an important api function first and put it at...

« - 40 - »

© 2024 OneMinuteCode. All rights reserved.