English

Can I start by learning java? [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... myself yet. Never understood how to work with java documentation with a specific task? Thank you in advance for your help.

I want to write for Android, but I don't like Java [closed]

Closed. It is impossible to give an objective answer to this question . Answers to it are not accepted at the moment. ... I know that there is an Android NDK, but it should only be used by software purpose for any serous things like game engines.

Java for continuing students: what to read? [duplicate]

This question is already answered here: ... or example. 3) classloaders 4) some useful ones for java web development books-can protocols in depth, can sockets etc

What knowledge do java programming interns need? [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... know what the requirements are for trainee java programmers. I found a job in my city, but there is not much written there.

Question about heap memory in Java

There was a question about heap memory. So pay attention to the bold italics. in the 1st version, everything works fine. But ... for (String s1 : strings1) { System.out.println(s1); } } }

Is the "C" language more complex than Java?

Goodnight! Colleagues it so happened that I myself write in Java but we are thrown very different projects, and on Monday a p ... ems like a simple language without OOP, and then who knows!!! Many thanks to everyone who dares to answer at least a line ...

"Could not find or load main class" when running the program

I am trying to perform the usual Hello, World, as it is said in one of the manuals. class HelloWorld { public static ... \bin>java HelloWorld Error: Could not find or load main class HelloWorld C:\Program Files\Java\jdk1.7.0_07\bin>

Where to store constants in Java/Android?

Hello. I want to write the right code, so I wondered. After all, where is it better to store constants in Java? Now I pick t ... hy this was done? How they work protected/private interface and where is it better to store constants? Thank you in advance.

Queuing processes - java

I need to do it in java, so that I can put processes in a queue and they are executed in turn. Tipo: One process monitors th ... } catch (IOException e) { e.printStackTrace(); } } })); }

Functional interfaces: Why only one abstract method?

Hello! Why can functional interfaces contain only one abstract method? What is the reason for this? And why it was impossible to make several methods (with different parameters) for interacting with lambda expressions in one function. the interface?

How do I make a GET request in pure JavaScript?

How can I use javascript to make a GET request and get a response from it (the html code of a certain page)? For example: sit ... true); x.onreadystatechange = function ()alert(x.responseText);} x.send(null); </script> But it opens an empty alert.

How to create an n-dimensional (multidimensional) array in JavaScript?

How can I put an array in a multidimensional array in JavaScript, without wrapping it in quotes? That is, there is an array - ... льтат получается вот такой, с кавычками: ["[2,5,7]"] //это big_array When it should be: [[2,5,7]] How can this be done?

How do I create my own event in javascript?

I am interested in whether it is possible to create my own event on javaScript so that an event listener can be placed on it. ... } <div class="block_1"> 1 </div> <div class="block_2"> 2 </div> How to implement this on js?

How do I handle the java.util.ConcurrentModificationException exception?

There is a code: link to github. During execution, an exception is thrown Exception in thread "AWT-EventQueue-0" java. util.ConcurrentModificationException Knowledgeable people tell me how to overcome the problem. Thank you in advance)

How are static fields stored in java?

How are static class fields stored in java? I know that there was such a question. (JAVA) In what memory area are the static ... , please explain why? After all, MetaSpace is the area where metadata is stored? And static fields are not the same metadata.

Operation priorities in the Java programming language

This is about operator precedence in Java. So, more than once I come across such interesting signs in which operators are s ... o the console. Result: 121. Why is that? Is the priority table painted incorrectly? Or is there something I don't understand?

What does "->" mean in Java?

I am studying this tutorial. Some screenshots have the -> construction, for example: vertx.deployVerticle("com.mycompany. ... d!"); } }); I've never encountered this before. Please tell me what it is and where you can read good materials about it.

What is an array in the Java programming language?

We all know that the Java programming language is a purely object-oriented language. All entities that we have to deal with a ... r of fields for a single data type be fixed?! Is there some code (even pseudo-code) that could shed some light on this issue.

Java. A constructor that uses a setter - when is it needed?

I met such a construction in the training example. public class Vehicle { private String color; //Constructor Vehicle ... get by with a constructor? There are cases when this is necessary, or is it just a theoretical example that this is possible?

Java, the definition of " polymorphism"

I'm learning Java. I realized that I can't properly define polymorphism. I Googled, found a lot of definitions, but they are ... rphism allows you to abstract from specific implementations of methods. The point is to give a definition without examples.