Kingdee Java backend 1, 2, HR interview (rejected)

Kingdee Java backend 1, 2, HR interview (rejected)

For the first time in so many rounds of interviews since I submitted my resume, I couldn’t help but get angry. I don’t know if I sent it directly , I’ll have fun waiting for HR news Kingdee / Backend/ One Side 11.3 Less than 10 minutes…. The fastest side legend Self-introduction What level is the US competition? What awards have you won? What are they? What are your commonly used sorting algorithms? The difference between HashMap and HashTable Why is HashMap thread-unsafe Are you still interning? Why not continue to intern? What projects have you done? What is your role? Why do you want to do this project? #xff1f; Do you have a deeper understanding of load balancing? Reflective question Department business :xxxx,But you may not necessarily come to our department Interview evaluation Kingdee / Backend / HR Face 11.5 Ten to twenty minutes. I thought the second interview was a technical one… A young lady opened the screen and made me confused Introduce yourself Beautiful Proportion of winning the competition It’s really troublesome to upload the scholarship certificate What did you do during the internship,What did you learn Hobbies li> Expected salary Intended position, company type Reflective question…

java11235_Use java to calculate the sum of the 120th digit of 1,1,2,3,5,8…

Use java to calculate the sum of the numbers 1, 1, 2, 3, 5, 8… 1-20th digits Attention: 254 Answer: 4 mip version Solution time 2021-01-27 00:01 The questioner is sorry and sorry 2021-01-26 16:29 Use java to calculate 1,1,2,3,5 ,8…The sum of the 1-20th digits Best answer Second-level knowledge expert Takaki Nono 2021-01-26 16:54 public class Test1 { public static void main(String args[]) { int a[] = new int[20]; a[0] = a[1] = 1; int sum = a[0] + a[1]; for (int i = 2; i <20; i++) { a[i] = a[i – 2] + a[i – 1]; sum += a[i]; } System.out.println(” The sum of the first 20 digits is :” + sum); } } The result is :17710 Answer all 1F Liuli Zhishi 2021-01-26 19:27 If you observe the rules of numbers, you will know that except for the first number And the second number is unexpected, the other numbers are equal to the first 2 numbers, and I wrote a function to see if you want to see it, but I didn’t pay much attention to the function name (I am a novice) //———– ——–Function class——————————— package com.yaojian.com; public class hanshu { public int feibulaji(int n){…

what is [1,2,3,4][1,2] in javascript

Can anyone explain the above problem. I tried it console and the answer is 3 [1,2,3,4][1,2] //consoles 3 Quentin.. 9 [1,2,3,4] is an array literal. 1,2 are two numbers with a comma operator between them, so they are parsed as 2. So you get index 2 (the third item) from the array. var array = [1,2,3,4]; var property = (1,2); var result = array[property]; console.log({ array: array, property: property, result: result }); 1> Quentin..: [1,2,3,4] is a Array literal. 1,2 are two numbers with a comma operator between them, so they are parsed as 2. So you get index 2 (the third item) from the array. var array = [1,2,3,4]; var property = (1,2); var result = array[property]; console.log({ array: array, property: property, result: result }); 2> ibrahim mahr..: The first [1,2,3,4] is 4 numbers Array. The second [1,2] is bracket notation (used here to access the items of the above array). In bracket notation, you have a comma operator that evaluates its rightmost expression 2. So: [1,2,3,4][1,2] Is the same: [1,2,3,4][2] This is the same as: var arr = [1,2,3,4]; arr[2]; 3> Nina Scholz..: It is an immediately called array with the comma operator The comma operation evaluates each…

JDBCUPDATE uses preparedStatement resulting in java.sql.SQLException: parameter index is out of range (3>number of parameters, that is, 2)

I am facingjava.sql.SQLException: Parameter index out of range (3>number of parameters, i.e. 2).Updating one or two columns simultaneously‘reset_info’table , which contains five columns (id, mobile_tower_id, reset_value, date_time, clientip). ‘id’ is an automatically generated primary key. I want to update the ‘reset_value’ of a specific row Now here is the source code: Class.forName(“com.mysql.jdbc.Driver”); System.out.println(“Connecting to database…”); cOnn= DriverManager.getConnection(DB_URL, USER, PASS); String sql = “UPDATE reset_info SET reset_value = ? WHERE id = ?”; PreparedStatement ps = conn.prepareStatement(sql); ps.setInt(1, 100); ps.setInt(3, 1000); ps.executeUpdate(); conn.close(); Here is my stack trace: Connecting to database… java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2). at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920) at com.mysql.jdbc.PreparedStatement.checkBounds(PreparedStatement.java:3813) at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3795) at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3840) at com.mysql.jdbc.PreparedStatement.setInt(PreparedStatement.java:3784) at cdot.dsa.cfms.dbconnect.NewClass.main(NewClass.java:38) Do I have to place a placeholder (‘?’) for each column of the table? Updating a single column via java.sql.Statement works, but I get an exception in java.sql.preparedStatement. Please help. Conceptual ideas would be highly appreciated. 1> Jens..: Thisps. setInt(3, 1000);must be ps.setInt(2, 1000);because you only need placeholders. Do I have to place a placeholder (‘?’) for each column of the table? Placeholders are for parameters not columns!

ZTE interview question: Input two integers n and m, randomly pick any number from the sequence 1, 2, 3…n so that the sum is equal to m.–java algorithm solution.

2010 ZTE interview questionsProgramming solution:Input two integers n and m, and pick any number from the sequence 1, 2, 3…n, To make the sum equal to m, all possible combinations are required to be listed. After looking at the answers on the Internet, most of them are C++. This is related to ZTE’s recruitment requirements, but I am a Java student. Here is a Java algorithm: The main idea is to arrange and combine, and then filter out all the combinations that meet the conditions: public class CombinationToSum { public static void main(String[] args) { permutation(6, 6); } private static void permutation(int Sum, int n) { for (int i = n; i> 0; i-) { if (i == Sum) { System.out.println (i) ;                                        continue; ls.add(i); for(int j=pos; j>0; j–){ int ret = judge(ls, j, sum); if(ret <0) {                        ls.add(j); j); for(int k=0; k<ls. size(); k++){                                   System.out.print(ls.get(k) + ” “);                          pos = ls.get (1) – 1;                                                                                                                  }                                                                                                                                                                                                                                                                                . ls, int num, int sum){ int result = 0; int total = 0; for(Integer i: ls){ total += i; } Total += NUM; If (Total> Sum) { Result = 1; } if (TOTAL <Sum) { Result = -1;                                                              return result;                Enter 6, 6 Output:…

Summary of details of Chapters 1, 2, and 3 of Java Programming Thoughts

In a blink of an eye, it’s the summer vacation of my sophomore semester. I have been using Java for a year, and I just started to read the classic book Thinking in Java. This is a systematic summary. I only list some knowledge that I am not yet familiar with and need to remember. point. Chapter 1: Introduction to Objects 1.Permissions in java: public, protected, private, default. Public: Can be accessed by any object. protected: can only be used in this class and internal classes of this class, and can be inherited through inheritance. private: can only be used in this class and inner classes of this class. default: If no permissions are added, the default is this, and all classes in a package can access it. After a brief reading of the code, it says that when declaring variables, they can be private but not public or protected. The purpose of this is to achieve encapsulation so that other classes cannot modify or can only modify these values ​​through a specific interface, for example This idea is used in model classes in web development. 2.Java classes have a single inheritance structure. One advantage of this is that it…

Python and Java question: There are four numbers: 1, 2, 3, 4. How many three-digit numbers can be formed that are different from each other and have no repeated numbers? How many are each?

Python version: #!/usr/bin/python # -*- coding: UTF-8 -*- #Title: There are four numbers: 1, 2, 3, and 4. How many three-digit numbers can be formed that are different from each other and without repeated numbers? How many are each? for i in range(1,5): for j in range(1,5): for k in range(1,5): if i != j and i != k and j != k: print i * 100 + j * 10 + k Java version: package com.thinkgem.jeesite.test; public class Demo { // Question: There are four numbers: 1, 2, 3, 4. How many different three-digit numbers can be formed without repeated numbers? How many are each? public static void main(String[] args) { for (int i = 1; i <= 4; i++) { for (int j = 1; j <= 4; j++) { for (int k = 1; k <= 4; k++) { if (i != k && i != j && j != k) { System.out.println(100 * i + 10 * j + k); } } } } } }

My junior year senior took me to learn JAVA. Assignment 8.  .  1 has the numbers 1, 2, 3, and 4. How many different three-digit numbers can be formed without repeated numbers?  How many are they?

My junior year senior took me to learn JAVA. Assignment 8. . 1 has the numbers 1, 2, 3, and 4. How many different three-digit numbers can be formed without repeated numbers? How many are they?

Wednesday, January 16, 2013 1 With the numbers 1, 2, 3, and 4, how many different three-digit numbers can be formed without repeated numbers? How many are they? public class Zhouhai { public static void main(String[] args) { int n = 0; for(int a = 1; a <= 4; a ++) for(int b = 1; b <= 4; b ++) for(int c = 1; c <= 4; c ++) if(a != b && a != c && b != c ) {                 ++n; System.out.print(a+””+b+””+c+” “); if(n % 4 == 0) System.out.print(“\n”);            }              System.out.println(“Total “+n+” species”); } }

A friend in the class had a brain-dead Java written test question. 1, 2, 3, 4 equals 12. He could answer it by repeating it for 3 minutes.

package com.hao947; public class hao947 { public static void main(String[] args) { int a = 1; int b = 2; int c = 3; int d = 4; int count = 0; for (int i = 0; i <= 12; i++) { for (int j = 0; j <= 6; j++) { for (int k = 0; k <= 4; k++) { for (int l = 0; l <= 3; l++) { int sum = (a * i + b * j + c * k + d * l); if (sum == 12) { count++; } } } } } System.out.println(count); } }

Java classic algorithm_011 has 1, 2, 3, and 4 numbers. How many different three-digit numbers can be formed without repeated numbers? How many are they?

Question: There are 1, 2, 3, and 4 numbers. How many different three-digit numbers can be formed without repeated numbers? How many are they? package com.arithmetic;/** * Question: There are 1, 2, 3, and 4 numbers. How many different numbers can be formed? The same three-digit number without repeating digits? How many are they? * * @author Administrator * */public class Test_wzs11 {public static void main(String[] args) {int temp = 0;for (int i = 1; i <= 4; i++) {for (int j = 1; j <= 4; j++) {for (int k = 1; k <= 4; k++) {if (i != j && j != k && i != k) {temp = i * 100 + j * 10 + k;System.out.print(temp + “,”);}}}}}}

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索