ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

Чашечка Java

Чашечка Java

Открыть в Telegram

Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels

Больше
8 282
Подписчики
-124 часа
-37 дней
-7130 дней
Архив постов
How to traverse iterate or loop ArrayList in Java How to Loop ArrayList in Java Iterating, traversing or Looping ArrayList in Java means accessing every object stored in ArrayList and performing some operations like printing them. There are many ways to iterate, traverse or Loop ArrayList in Java e.g. advanced for loop, traditional for loop with size(), By using Iterator and ListIterator along with while loop etc. All the method of Looping List in Java also applicable to ArrayList because ArrayList is an essentially List. In next section we will see a code example of Looping ArrayList in Java. Java Interview questions and tutorials Read: http://www.java67.com/2012/08/how-to-traverse-iterate-or-loop-ArrayList-in-java-example-tutorial.html

How to use Java Enum in Switch Case Statement - Exampel Tutorial Java Enum in Switch Case Statement Yesterday, someone ask me
How to use Java Enum in Switch Case Statement - Exampel Tutorial Java Enum in Switch Case Statement Yesterday, someone ask me Can we use Java Enum in Switch case? Obviously, he was learning Enum and not aware that How powerful Enum in Java is. Yes, You can use Enum in Switch case statement in Java like int primitive. If you are familiar with enum int pattern, where integers represent enum values prior to Java 5 then you already knows how to use the Switch case with Enum. Using Java Enum in the Switch case is pretty straightforward, Just use Enum reference variable in Switch and Enum constants or instances in CASE statement. In this Java tutorial we will see one example of How to use Enum in Switch statement in Java. Java Interview questions and tutorials Read: http://www.java67.com/2012/09/how-to-use-java-enum-in-switch-case-example.html

What is CopyOnWriteArrayList in Java - Example Tutorial CopyOnWriteArrayList vs Array List in Java CopyOnWriteArrayList is a concurrent Collection class introduced in Java 5 Concurrency API along with its popular cousin ConcurrentHashMap in Java. CopyOnWriteArrayList implements List interface like ArrayList, Vector, and LinkedList but its a thread-safe collection and it achieves its thread-safety in a slightly different way than Vector or other thread-safe collection class. As the name suggests CopyOnWriteArrayList creates a copy of underlying ArrayList with every mutation operation e.g. add, remove, or when you set values. That's why it is only suitable for a small list of values which are read frequently but modified rarely e.g. a list of configurations. Java Interview questions and tutorials Read: http://www.java67.com/2012/09/what-is-copyonwritearraylist-in-java-example-vs-arraylist.html

Difference between Error vs Exception in Java - Interview question Both Error and Exception are derived from java.lang.Throwa
Difference between Error vs Exception in Java - Interview question Both Error and Exception are derived from java.lang.Throwable in Java but main difference between Error and Exception is kind of error they represent. java.lang.Error represent errors which are generally can not be handled and usually refer catastrophic failure e.g. running out of System resources, some examples of Error in Java are java.lang.OutOfMemoryError or Java.lang.NoClassDefFoundError and java.lang.UnSupportedClassVersionError. On the other hand java.lang.Exception represent errors which can be catch and dealt e.g. IOException which comes while performing I/O operations i.e. reading files and directories. Java Interview questions and tutorials Read: http://www.java67.com/2012/12/difference-between-error-vs-exception.html

Java program to get SubList from ArrayList - Example Sometimes we need subList from ArrayList in Java. For example, we have a
Java program to get SubList from ArrayList - Example Sometimes we need subList from ArrayList in Java. For example, we have an ArrayList of 10 objects and we only need 5 objects or we need an object from index 2 to 6, these are called subList in Java. Java collection API provides a method to get SubList from ArrayList. In this Java tutorial, we will see an example of getting SubList from ArrayList in Java. In this program, we have an ArrayList which contains 4 String objects. Later we call ArrayList.subList() method to get part of that List. Java Interview questions and tutorials Read: http://www.java67.com/2012/09/java-program-to-get-sublist-from-ArrayList-example.html

Зачем нам Reactive и как его готовить Привет! Меня зовут Татьяна Руфанова. Сегодня мы будем понимать и принимать Reactive (Реактив). В статье расскажу, почему мы выбрали Реактив в мидл слое мобильного приложения Альфа-Банка (а у нас 300 микросервисов и треть из них реактивные), разберём, почему «нелогичное» поведение реактивной программы на самом деле очень логичное, какие сложности реактивный подход принесёт в процессе написания и исполнения кода, и как с этим бороться. А чтобы не траблшутить в проде, будем ломать тесты на Project Reactor. Налейте чаю, включите звуки природы и настройтесь пройти все стадии принятия Reactive. Читать: https://habr.com/ru/companies/alfa/articles/729020/?utm_campaign=729020

Как заставить Jmeter собирать скриншоты графиков после тестов Привет, Хабр! Меня зовут Илья Улизко, я занимаюсь нагрузочным тестированием ДБО ЮЛ в блоке Цифровой Трансформации «РСХБ-Интех». В этой статье я поделюсь с вами опытом автоматизации сбора графиков в Grafana при отсутствии установленного grafana-image-render плагина на сервере. Для того, чтобы научить Apache Jmeter делать скриншоты панелей в Grafana нам понадобится Selenium и Browsermob-proxy. Читать: https://habr.com/ru/companies/rshb/articles/729196/?utm_campaign=729196

What Java developer Should Know about Object and java.lang.Object Java is an object oriented programming language and core of
What Java developer Should Know about Object and java.lang.Object Java is an object oriented programming language and core of Java API is java.lang.Object class. In order to work properly in Java platform its important to learn fundamentals of Object in Java e.g. What is an Object in Java and How to use Object in Java. There are two meanings of Object in Java one which is used to refer object of Object oriented programming language or OOPS and other is java.lang.Object class. Every class in Java which explicitly doesn’t extend any class, implicitly extends java.lang.Object class. Crucial methods like finalize and wait and notify are declared in Object class, which is source of one of the java questions Why wait and notify are declared in Object class and not on java.lang.Thread class. Java Interview questions and tutorials Read: http://www.java67.com/2012/12/object-in-java-and-OOPS-example-tutorial.html

Difference between transient vs volatile variable or modifier in Java transient vs volatile modifier in Java What is the diff
Difference between transient vs volatile variable or modifier in Java transient vs volatile modifier in Java What is the difference between transient and volatile variables or modifiers in Javais one of the most common Serialization Interview Questions in Java. Though volatile variables are not related to Serialization at all, this question is mostly asked in conjunction with other Serialization questions. Both transient and volatile modifiers are completely different from each other. In fact, this question is as popular as Serializable vs Externalizable in Java. The main difference betweentransient vs volatile variables is that transient variables are not serialized during the Serialization process in Java while volatile variables are used to provide alternative synchronization in Java. Java Interview questions and tutorials Read: http://www.java67.com/2012/11/difference-between-transient-vs-volatile-modifier-variable-java.html

20 EJB 3.0 Interview Questions and Answers - Java J2EE EJB interview questions are core part of any Java J2EE interview. As E
20 EJB 3.0 Interview Questions and Answers - Java J2EE EJB interview questions are core part of any Java J2EE interview. As EJB forms business layer for modern J2EE enterprise application, Good knowledge of EJB is expected from J2EE programmer. Purpose of these EJB interview questions is to give an Idea about what kind of questions you can expect on J2EE and EJB interviews. EJB was always tough for Java programmer because of heavy weight architecture comprised with many interfaces e.g. home interface, remote interface, local interface, bean class etc. It take too much time and knowledge to implement and use EJB in your Java web and enterprise application forget about challenges posed by application servers like WebLogic or IBM WebSphere. Java Interview questions and tutorials Read: http://www.java67.com/2012/10/20-ejb-30-interview-questions-and.html

Autoboxing, Enum, Generics, Varargs methods - Java 5 Features Quick Overview What is Autoboxing, Generics, Enum and Varargs m
Autoboxing, Enum, Generics, Varargs methods - Java 5 Features Quick Overview What is Autoboxing, Generics, Enum and Varargs method in Java 5 Java 5 introduces Autoboxing, Generics, varargs and Enum along with several other features and improvement. It's been few years when Java programming language was enhanced with these features but still Java programmer thing Autoboxing, Enum, Generics or Variable arguments as an advanced feature and afraid to learn them. They are very much part of Java fundamentals just like Abstraction, Inheritance, Encapsulation and Polymorphism are part of Object oriented programming concepts. It's important to understand what are these feature and How to use them, even if you don't use them in your code, you may have to work on someone else code which is written in Java 5 and uses Generics Collection, Autoboxing quite frequently. Java Interview questions and tutorials Read: http://www.java67.com/2012/09/autoboxing-enum-generics-varargs-java-5-features.html

JDOM Example : Reading and Parsing XML with SAX parser in Java XML parsing with JDOM parser JDOM is an open source library which allow XML parsing and reading in Java program. JDOM is designed by using Java programming technique and customized for Java programmers, so that Java programmer with very little knowledge of XML documents can use JDOM to read XML files. Unlike DOM Parser of Java API , which uses Factory design pattern to create instance of parser e.g DocumentBuilderFactory and DocumentBuilder, as seen in our last example of parsing XML documents in Java, JDOM uses new() operator to create its parser instances. In fact JDOM is very easy to understand and most of the time its self explanatory. Java Interview questions and tutorials Read: http://www.java67.com/2012/10/jdom-example-reading-and-parsing-xml-java.html

What is Struts Action Class in Java J2EE - How to use What is Action class in Struts Struts in java is a framework, used to make web application its is based on Model View Controller or MVC design Pattern where Model represent the internal state and action used to change the state view represent presentation component and a controller is responsible for receiving the request from the client and decide which business logic should be called. Basically, Struts have different classes to represent this Model, View, and Controller we call them as Action, Action Form, and Action Servlet. So Model – Action classes View - Action form classes Controller – Action Servlet classes In this article, we are focusing on the Model layer of struts framework. Action class is used to provide an interface to application model layer.  What is Action class and how to use Action class is also a popular Struts interview Question asked in various J2EE interviews. Java Interview questions and tutorials Read: http://www.java67.com/2012/09/what-is-struts-action-class-in-java.html

50x50.gif0.00 KB

10 Books and Courses to Prepare Technical Programming/Coding Job Interviews If you are preparing for a technical interview in
10 Books and Courses to Prepare Technical Programming/Coding Job Interviews If you are preparing for a technical interview in the software development sector and looking for some great books to boost your preparation, then you have come to the right place. In the past, I have hared some of the best online courses to prepare coding interviews. In this article, I am going to share some of the best programming/coding interview books to prepare well for any software development jobs. These books are enough to crack even the toughest of the job interviews at Google, Amazon, or Microsoft. They provide excellent coverage of all essential topics for programming job interviews like data structure and algorithms, system design, algorithm design, computer science fundamentals, SQL, Linux, Java, Networking, etc. Java Interview questions and tutorials Read: http://www.java67.com/2017/06/10-books-to-prepare-technical-coding-job-interviews.html

5 Advanced Books for Experienced Java, C++, Python, Ruby and JavaScript Developers It's one thing to know about the syntax an
5 Advanced Books for Experienced Java, C++, Python, Ruby and JavaScript Developers It's one thing to know about the syntax and semantics of a programming language and other things to use it effectively. If you are a programmer and want to take your programming skill to next level in your choice of programming language, and looking for the best resources then you have come to the right place. Earlier, I have shared the best online courses to learn Python, Java, JavaScript, and C++, and today, I am going to share advanced programming books for experienced Java, C++, Python, Ruby, and JavaScript developers. To be honest, there are several books that will be taught you about the syntax and grammar of a programming language, but there are really few books that will teach you the customary and effective ways to use it, also known as idiom and usages. Java Interview questions and tutorials Read: http://www.java67.com/2021/03/advanced-programming-books-for-experienced-developers.html

Is it Possible to take Spring Professional v5.0 Certification without the Official Training course? Just a couple of years ag
Is it Possible to take Spring Professional v5.0 Certification without the Official Training course? Just a couple of years ago, It wasn't possible to take Spring Professional certification without a mandatory expensive training course from Pivotal, but from 10th May 2017 onwards, you can take Spring Certification without a training course. Yes, you read it correctly, it's now possible to become Spring certified developer without spending USD 3200 on mandatory Spring training, like the Core Spring training. For years, Pivotal, the company behind the Spring framework (now Vmware) ensured that a Java developer can only get a Spring Professional certification by first going into a 4-day training run by Pivotal and its partner around the world. Java Interview questions and tutorials Read: http://www.java67.com/2017/06/is-it-possible-to-take-spring-certification-without-training.html

Top 5 Books for Java 8 Certifications - 1Z0-808 (OCA) and 1Z0-809 (OCP) If you are preparing for Oracle's Java SE 8 certifica
Top 5 Books for Java 8 Certifications - 1Z0-808 (OCA) and 1Z0-809 (OCP) If you are preparing for Oracle's Java SE 8 certification then you may know that in order to become a Java 8 Certified developer, you need to pass two exams, the OCAJP 8 exam with code 1Z0-808 and the OCPJP8 exam with code 1Z0-809. You will not be a Java SE 8 certified programmer if you just pass the OCAJP8 exam. In order to prepare for both these exams, you need to choose an excellent study guide, a couple of quality online courses, and a unique mock exam simulator, apart from writing programs on a daily basis. This is the perfect recipe to crack Oracle's Java certification in the first attempt. It requires a lot of hard work but it's worth it. Java Interview questions and tutorials Read: http://www.java67.com/2017/05/top-5-books-for-ocajp8-and-ocpjp8-Java-8-certification-exam.html