ru
Feedback
Чашечка Java

Чашечка Java

Открыть в Telegram

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

Больше
8 548
Подписчики
Нет данных24 часа
-137 дней
-3030 день
Архив постов
15 Linked List Interview Questions for Software Engineering Interviews Hello guys, if you are preparing for Software Developm
15 Linked List Interview Questions for Software Engineering Interviews Hello guys, if you are preparing for Software Development interview or want to become a Software Engineer in 2023 then you must pay full attention to two important topics: first is Data Structure and Algorithms, and second is System Design. These two topics are very essential and you will always find questions from these in any coding interview. They are also the most difficult to crack as they are very vast, no matter how much you will prepare there will be certain questions which you don't know but if you have solid knowledge of fundamental data structure like array, linked list, binary tree, hash table, heap, and graphs as well sorting and searching algorithms like quicksort, merge sort, selection sort, insertion sort, binary tree as well advanced String and graph algorithms then you can still do well. Java Interview questions and tutorials Read: http://www.java67.com/2022/11/15-linked-list-interview-questions-for.html

Alfa Backend Stories Meetup#1 для бэкенд-разработчик пройдёт 6 декабря Стабильная работа сервисов всегда была важна, а сейчас — особенно. И тут, Backend-разработчики, ваш выход! На митапе вас ждёт вкусная еда, атмосфера «Стражей Галактики», любимые саундтрек и комиксы. От участников — наряды под тематику, внимание. Костюм Грута (читать как костюм бревна) уже занят. А ещё несколько интересных докладов: — «Отказоустойчивость микросервисных приложений». Спикер: Антон Гращенков, TechLead Альфа-Банк; — «Как в 3 раза снизить затраты на отказоустойчивую инфраструктуру, переехав с Hazelcast на Redis». Спикер: Янис Чикнизов, Java TechLead Альфа-Банк; — «Как разработчику избежать фатальных ситуаций». Спикер: Максим Чернухин, Senior Software Architect Альфа-Банк. Когда: 6 декабря, 18:00 Где: онлайн + офлайн в Москве Выбирайте удобный вам формат и регистрируйтесь на сайте Реклама АО «Альфа⁠-⁠Банк»‎

Подборка актуальных вакансийDevops-инженер Где: Санкт-Петербург, Москва, можно удалённо Опыт: от 1 года — Java-разработчик Где: Москва, можно удалённо Опыт: от 1 года — Android-разработчик Где: удалённо Опыт: от 3 лет — Ведущий Java-разработчик Где: удалённо Опыт: от 3 лет — Java-разработчик Где: Москва, можно удалённо Опыт: от 3 лет — Java-разработчик Где: Москва, можно удалённо Опыт: от 3 лет — Senior Android-разработчик Где: Москва, можно удалённо Опыт: от 3 лет — Главный разработчик Где: Москва, можно удалённо Опыт: до 3 лет #вакансии #работа

What is temporary table in Database and SQL? Example Tutorial Hello folks, if you have heard the term temporary table online
What is temporary table in Database and SQL? Example Tutorial Hello folks, if you have heard the term temporary table online or by your colleague in a call and wondering what is temporary table, what is the difference between a normal table and a temporary table, and when and how to use it then you have come to the right place. In this blog, we shall learn how to use a temporary table in SQL. But before we go into that we need an overview of SQL. What is SQL? SQL stands for Structured query language. it is a programming language used in communicating or relating to the relational database. And this programming language performs various forms of operation in the data. It was created in the 1970s, SQL is used by database administrators, and developers writing data integration scripts, etc. Java Interview questions and tutorials Read: http://www.java67.com/2022/05/what-is-temporary-table-in-database-and.html

Akka 22.10 Introduces Projections over gRPC Akka 22.10 is the first release using the new Business License (BSL) 1.1 release.
Akka 22.10 Introduces Projections over gRPC Akka 22.10 is the first release using the new Business License (BSL) 1.1 release. The Projections over gRPC module is introduced and Java 17 and Scala 3.1 are now supported. By Johan Janssen Read: https://www.infoq.com/news/2022/11/akka-22-10/

Java News Roundup: Major Spring Releases, Resilience4j, Open Liberty, GlassFish, Kotlin 1.8-Beta This week's Java roundup for
Java News Roundup: Major Spring Releases, Resilience4j, Open Liberty, GlassFish, Kotlin 1.8-Beta This week's Java roundup for November 21st, 2022 features news from JDK 20, major, point and patch releases for Spring (namely Boot, Web Services, Security, Batch, Authorization Server, REST Docs, Framework, Modulith, GraphQL, Apache Kafka and RabbitMQ), Open Liberty 22.0.0.12, GlassFish 7.0-M10, GraalVM Native Build Tools 0.9.18, Resilience4j 2.0, Apache Tomcat 8.5.84 and Kotlin 1.8-Beta. By Michael Redlich Read: https://www.infoq.com/news/2022/11/java-news-roundup-nov21-2022/

Top 20 PL/SQL Interview Questions with Answers in 2023 Hello guys, if you are preparing for Oracle or PL/SQL Job or a Develop
Top 20 PL/SQL Interview Questions with Answers in 2023 Hello guys, if you are preparing for Oracle or PL/SQL Job or a Developer job where PL/SQL skills are needed and looking for frequently asked PL/SQL Interview Questions then you have come to the right place. Earlier, I have shared both best PL/SQL courses and best PL/SQL books and in this article, I am going to share popular PL/SQL Interview Questions you can revise before your interview. Preparing for PL/SQL Interview is not a rocket science and you can prepare for it the same way you prepare for other interviews. Java Interview questions and tutorials Read: http://www.java67.com/2022/06/top-20-plsql-interview-questions-with.html

Top 20 Web Development Interview Questions with Answers in 2023 Hello guys, if you are preparing for web developer job and lo
Top 20 Web Development Interview Questions with Answers in 2023 Hello guys, if you are preparing for web developer job and looking for popular web development interview questions for preparation then you have come to the right place. Earlier, I have shared HTML Interview Question, CSS Interview Questions, and JavaScript Interview Questions and in this article, I am going to share common web development interview questions. You may be thinking how much different it is from other list but this is a general questions about web development like web services, images, SOAP, REST, Pagination etc. Java Interview questions and tutorials Read: http://www.java67.com/2022/06/web-development-interview-questions.html

Если вы разработчик или DevOps-инженер, то приходите 2 декабря на «Екатеринбург Арена» Вас ждёт не футбольный "матч", а SberDev MeetUp. Кроме экскурсии по стадиону, фотосессии на футбольном поле и кофе-брейка, вас будут ждать 3 доклада: — «Как желание выбраться из рутины привело нас с DevOps»; — «Автоматизация процессов. От простого к сложному и обратно к простому»; — «Maven & Cradle». Регистрируйтесь, «места на трибунах» могут закончиться: https://tprg.ru/d9CO Реклама ПАО Сбербанк

How to use EXISTS and NOT EXISTS in SQL? Microsoft SQL Server Example Hello guys, if you are wondering how to use the IF EXIS
How to use EXISTS and NOT EXISTS in SQL? Microsoft SQL Server Example Hello guys, if you are wondering how to use the IF EXISTS and NOT EXISTS in SQL then you are at the right place. Earlier, I have shared how to use GROUP BY, WHERE, and HAVING clause and in this tutorial I will share how to use exists and not exists clause in SQL. The IF EXISTS and NOT EXISTS commands in T-SQL are covered in depth in this article. When comparing data sets using subqueries, it also illustrates why EXISTS should be preferred over IN and NOT EXISTS over NOT IN. If you don't know, EXISTS is a logical operator in SQL that is used to check if rows in a database exist. If the subquery produces one or more records, it returns TRUE. The NOT EXISTS operator in SQL is the polar opposite of the EXISTS operator, and it is fulfilled if the subquery returns no results. Java Interview questions and tutorials Read: http://www.java67.com/2022/05/sql-tutorial-exists-and-not-exists.html

Spring HelloWorld Example in Java Annotations and Autowiring [Tutorial] Spring framework has gone a couple of releases since
Spring HelloWorld Example in Java Annotations and Autowiring [Tutorial] Spring framework has gone a couple of releases since I last share the Spring hello world example with XML configuration. In this article, I am going to explain to you how to create a Spring hello world example with Spring 4.2 release and by using Annotation for dependency injection and autowiring. So no more XML files to specify bean dependencies. It's a simple program that shows how you can use the Spring framework to create Services that are loosely coupled. The example will show you the basic concept of dependency injection by creating a simple Java application that greets the user. Java Interview questions and tutorials Read: http://www.java67.com/2019/10/spring-helloworld-example-in-Java-eclipse.html

Security микросервисов с помощью Spring Cloud Gateway и TokenReley Данная статья результат поиска некоего каноничного решения организации безопасности доступа к ресурсам в микросервисной архитектуре, построенной в экосистеме Spring. После прочтения десятка статей по данной тематике, к сожалению, не нашел то, что искал. Spring Security оказался одной из самых недопонятых технологий. Основная проблема у всех - изобретение своего велосипеда поверх стандартного функционала Spring Security. Зачастую, данные статьи сопровождаются комментариями никогда так не делать. И у многих, наверно, возникает вопрос, а как собственно можно делать. Ситуацию несколько прояснила официальная документация. Взяв её за основу, я хочу показать, как можно организовать безопасность микросервисов максимально простым и быстрым способом. Читать: https://habr.com/ru/post/701912/?utm_campaign=701912

Top 20 DevOps Interview Questions with Answers for Experienced Developers in 2023 Hello guys, if you are preparing for DevOps
Top 20 DevOps Interview Questions with Answers for Experienced Developers in 2023 Hello guys, if you are preparing for DevOps Engineer job interview or a Developer interview then preparing DevOps questions is quite important. I have seen a couple of DevOps related questions on Java developer interview in last a couple of years. Interviewers are now expecting you to become familiar with Cloud, DevOps and essential DevOps tools like Docker, Kubernetes, Ansible, Terraform tec. If you have been moving around looking for a way which will help you pass your DevOps interview that is around the corner, you have come to the right place at the right time. Java Interview questions and tutorials Read: http://www.java67.com/2022/07/devops-interview-questions-with-answers.html

Top 18 CSS Interview Questions and Answers for 1 to 2 years experienced Hello guys, if you are preparing for web developer in
Top 18 CSS Interview Questions and Answers for 1 to 2 years experienced Hello guys, if you are preparing for web developer interview then you must prepare for CSS Interview questions. CSS is one of the three core technologies of the World Wide Web(WWW). A website is incomplete without CSS. The first feature of a website noted by the visitors is its presentation. It does not matter how excellent the behind-the-scenes of a website are, if the client-side view is not appealing, the website is almost a failure. Thus, CSS is as important as JavaScript. Java Interview questions and tutorials Read: http://www.java67.com/2021/09/-css-interview-questions-and-answers-for-.html

JetBrains Previews Aqua, New Test Automation-Oriented IDE JetBrains Aqua, now available in preview, is a new IDE focusing on
JetBrains Previews Aqua, New Test Automation-Oriented IDE JetBrains Aqua, now available in preview, is a new IDE focusing on test automation and integrating a number of distinct tools that are at the core of an automation engineer's daily routine, says JetBrains. Its features include multi-language support, an HTTP client and a Web inspector, database management, integrated Docker support, and more. By Sergio De Simone Read: https://www.infoq.com/news/2022/11/jetbrains-aqua-preview/

10 Examples Of Printstream print(), println() and prinf() In Java Hello guys, if you are working in Java or just started with
10 Examples Of Printstream print(), println() and prinf() In Java Hello guys, if you are working in Java or just started with Java then you have must come across statements like System.out.println("Hello world") to print something on console or command prompt. This is actually the first statement I wrote in Java when I started programming and at that time I didn't realize how it work and what is System and PrintStream class and what is out here but now I know and I am going to explain all this to you in this article, along with PrintStream class and its various print methods like print(), println() and particularly printf() to print various objects in Java. But,   Before we get to the 10 examples of Printstream printf() in Java, let me tell you a little bit more about what exactly Printstream is. Java Interview questions and tutorials Read: http://www.java67.com/2022/11/10-examples-of-printstream-print.html

Top 50 Database and SQL Interview Questions Answers 1 to 5 Years Experienced Hello guys, whether you are preparing for Java d
Top 50 Database and SQL Interview Questions Answers 1 to 5 Years Experienced Hello guys, whether you are preparing for Java developer interview or any other Software Developer Interview, a DevOps Interview or a IT support interview, you should prepare for SQL and Database related questions. Along with Data Structure, Algorithms, System Design, and Computer Fundamentals, SQL and Database are two of the essential topic for programming or technical Job interview. In the past, I have shared many questions related to MSSQL questions, Oracle Questions, MySQL questions, and PostgreSQL questionsand in this article, I am going to share both theory based and query based Database and SQL Interview questions with to the points answers. Java Interview questions and tutorials Read: http://www.java67.com/2022/07/database-and-sql-interview-questions.html

Top Java Blogs Weekly: Best of 49/2022 Best of Top Java Blogs, year 2022, week 49 Read: https://www.topjavablogs.com/news/best-of-49-2022

e value for the desired cell will be: matrix[3][7] = max(z+70, y); Note: Please note that the 'y' is also generated using the same logic i.e. the max of the cells above it. y = max(matrix[0][7], matrix[1][7]); So keep in mind that this is the basic logic to solve this problem. Now start filling this matrix... For the knapsacks 1, 2, ...., 8 the max value with a given item of weight 1 kg will be10. Now come to the 2nd row. The max values for knapsacks 1, and 2 with given items 1 and 3 will be 10 only because the knapsack total weights 1 and 2 are less than 3 kg weight item. Pick the value of any cell and apply the logic you will understand how the max value got generated. But let me again explain to you for the cells 'matrix[1][3]' and 'matrix[1][4]'. Given KnapSack                          Generated KnapSack 3 ----------removing 3 ---------- 0 Items Given                                 Items Left { 1, 3 } ---------removing 3 ------{ 1 } The weight of the generated knapsack '0' is 0 kg so we can't put the value(10) of the item{1} left. So the max value for the new knapsack will be 0. Now as per our logic again add removed the 3 kg weight item back to the knapsack so finally, the max value for the given knapsack 3 will be generated '0 + 40'. Now the value above the cell 'matrix[1][3]' is 10. So matrix[1][3]  = max(0 + 40, 10) = 40. Similarly, the max value for the 8 kg knapsack will be 110. Implementation: Now let's covert the above problem into code. The below logic shows how to fill the matrix above. for(int i = 0; i < weight.length; i++){ for(int j = 0; j <= matrix[i][j] = Max(matrix[i-1][j-weight[i]] + value[i] , matrix[i-1][j]); } } weight: Given an array of items weights. value: Given an array of the item values. The outer for loop prints the rows and the inner one prints the columns of the matrix. The equation matrix[i][j] = Max(matrix[i-1][j-weight[i]] + value[i] , matrix[i-1][j]); is playing the main role. This represents the core logic that I explained to you to calculate the cell value. Complete Code: public class Main { public static int knapSackProblem(int[] value, int[] weight, int W) { int[][] matrix = new int[value.length + 1][W + 1]; for (int i = 1; i <= { for (int j = 0; j <= { if (weight[i-1] > j) { matrix[i][j] = matrix[i-1][j]; } else { matrix[i][j] = Integer.max(matrix[i-1][j],matrix[i-1][j-weight[i-1]] + value[i-1]); } } } return matrix[value.length][W]; } public static void main(String[] args) { int[] value = { 10,40, 50, 70 }; int[] weight = {  1,3,4,5 }; int W = 8; System.out.println("Value is "+ knapSackProblem(value, weight, W)); } } Test Your Understanding... Q. 1) Given KnapSack W = 9 kg and items with different weights and corresponding values are: Weight value 1 80 4 70 5 90 What could be the max value after putting the items in the bag so that the total weight <= Ans. 160 Before you Leave... Knowledge of data structure and algorithms is must to simulate the real world problem in code. If you want to learn more about this article, drop a comment below and reach out to us to let us know your interest. If you enjoyed learning the fundamentals of DSA share your knowledge to your fellow programmers and social circle. May be someone out really needs this resource, and you might be helping them out by sharing it. Java Interview questions and tutorials Read: http://www.java67.com/2022/11/how-to-solve-knapsack-problem-in-java.html