syntax tag

30 questions


1 answers
131 views
0
Function declarations and function representations

I recently started maintaining someone else's JavaScript code. You want to fix bugs and add features to fix code more consistently. Previous developers defined code as a function in two ways. I was wo...

1 years ago

1 answers
96 views
0
[Java] Let me ask you about grammar

private static Logger logger = Logger.getLogger(CopyUtil.class);I saw the chords like this I'm inquiring because there's something I don't understand grammatically.CopyUtil.class. Like this. xxx.I won...

1 years ago

1 answers
91 views
0
break abc in java; what grammar is this?

class CodeRunner{ public static void main(String[] args){ abc: for(int i=0; i<10; i++){ for(int j=i+1;j<20;j++){ if(i+j==5){ System.out.println(i+j); break abc; } } } }}I saw this...

1 years ago

1 answers
100 views
0
C++ Grammar Questions

While studying openCV, I encountered the following cases.Range r1(0, 3), r2(3, 7);int data[] = { 10, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 30, 31, 32, 33, 34, 35, 36, 40, 41, 42, 43, 44,...

1 years ago

1 answers
66 views
0
Declaration part when creating an object

I was studying Java thread and created an object. SoloThread s = new SoloThread(10);s.start();I abbreviated this partnew SoloThread(10).start();I've seen a case where I only use it.I've seen a few mor...

1 years ago

1 answers
71 views
0
Android sqlite int sync error

final public String CREATE_FAVORITE_SONG_TABLE_QUERY = CREATE TABLE + FAVORITE_SONG_TABLE_NAME + ( + ID INTEGER PRIMARY KEY, + favorite_id int(10), + sound_res char(30), + sound_name char(3...


1 answers
106 views
0
What is map(&:name) like?

I saw this code in RailsCast and I don't know what map(&:name) is like (&:name).def tag_names @tag_names || tags.map(&:name).join(' ')end


1 answers
84 views
0
How do I avoid % in String.Format?

I put a SQL query statement in the string.xml file, but I want to write this code in String.Format.SELECT Field1, Field2 FROM mytable WHERE Field1 LIKE '%something%'If you have a statement like this, ...

1 years ago

2 answers
123 views
0
When

It says that I shouldn't use dl in ul, so what should I do in this case?


1 answers
64 views
0
Is there a goto command in Java?

Is there a goto command in Java? Most people say that Java doesn't have a goto statement.But I found goto in Java's keyword. What is it used for? If it cannot be used, why is it defined in the Java ke...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.