javarevisited.blogspot.com Open in urlscan Pro
2a00:1450:4001:808::2001  Public Scan

URL: https://javarevisited.blogspot.com/
Submission: On June 01 via manual from HK — Scanned from DE

Form analysis 4 forms found in the DOM

POST https://gumroad.com/follow_from_embed_form

<form action="https://gumroad.com/follow_from_embed_form" class="form gumroad-follow-form-embed" method="post"> <input name="seller_id" type="hidden" value="6381505211250"> <input name="email" placeholder="Your email address" type="email"> <button
    data-custom-highlight-color="" type="submit">Follow</button> </form>

https://javarevisited.blogspot.com/search

<form action="https://javarevisited.blogspot.com/search" class="gsc-search-box" target="_top">
  <table cellpadding="0" cellspacing="0" class="gsc-search-box">
    <tbody>
      <tr>
        <td class="gsc-input">
          <input autocomplete="off" class="gsc-input" name="q" size="10" title="search" type="text" value="">
        </td>
        <td class="gsc-search-button">
          <input class="gsc-search-button" title="search" type="submit" value="Search">
        </td>
      </tr>
    </tbody>
  </table>
</form>

POST https://api.follow.it/subscription-form/VzM1WnhvV1JaQXZveTZIeFQ0VFlnUjU3ZlZ1QXQ3WkNickFPQmJUWlZHTHpiVVZkaVFNMU9UQWZvdDNkUmJaWU5MZFo2UjRDMkw2bWd5RFRVZ2hieUVwdk9CRzhUK0ZMSFB2d0FVc2tDU3VKSWxPMTJxUys2QlFKUnRyVHRJY3h8TEpRTDl0YTc5MjVDeDdOejl2NWt0U0dIOVJTMWU2S2h0MFpJL3V5L01QYz0=/8

<form data-v-3a89cb67=""
  action="https://api.follow.it/subscription-form/VzM1WnhvV1JaQXZveTZIeFQ0VFlnUjU3ZlZ1QXQ3WkNickFPQmJUWlZHTHpiVVZkaVFNMU9UQWZvdDNkUmJaWU5MZFo2UjRDMkw2bWd5RFRVZ2hieUVwdk9CRzhUK0ZMSFB2d0FVc2tDU3VKSWxPMTJxUys2QlFKUnRyVHRJY3h8TEpRTDl0YTc5MjVDeDdOejl2NWt0U0dIOVJTMWU2S2h0MFpJL3V5L01QYz0=/8"
  method="post">
  <div data-v-3a89cb67="" class="form-preview" style="background-color: rgb(250, 247, 247); border-style: solid; border-width: 2px; border-color: rgb(204, 204, 204); position: relative;">
    <div data-v-3a89cb67="" class="preview-heading">
      <h5 data-v-3a89cb67="" style="text-transform: none !important; font-family: Montserrat; font-weight: bold; color: rgb(0, 0, 0); font-size: 16px; text-align: center;">Get new posts by email:</h5>
    </div>
    <div data-v-3a89cb67="" class="preview-input-field"><input data-v-3a89cb67="" type="email" name="email" required="required" placeholder="Enter your email" spellcheck="false"
        style="text-transform: none !important; font-family: Montserrat; font-weight: normal; color: rgb(0, 0, 0); font-size: 14px; text-align: center; background-color: rgb(255, 255, 255);"></div>
    <div data-v-3a89cb67="" class="preview-submit-button"><button data-v-3a89cb67="" type="submit"
        style="text-transform: none !important; font-family: Montserrat; font-weight: bold; color: rgb(255, 255, 255); font-size: 16px; text-align: center; background-color: rgb(0, 0, 0);">Subscribe</button></div>
  </div>
</form>

https://javarevisited.blogspot.com/search

<form action="https://javarevisited.blogspot.com/search" class="gsc-search-box" target="_top">
  <table cellpadding="0" cellspacing="0" class="gsc-search-box">
    <tbody>
      <tr>
        <td class="gsc-input">
          <input autocomplete="off" class="gsc-input" name="q" size="10" title="search" type="text" value="">
        </td>
        <td class="gsc-search-button">
          <input class="gsc-search-button" title="search" type="submit" value="Search">
        </td>
      </tr>
    </tbody>
  </table>
</form>

Text Content

WE VALUE YOUR PRIVACY

We and our partners store and/or access information on a device, such as cookies
and process personal data, such as unique identifiers and standard information
sent by a device for personalised ads and content, ad and content measurement,
and audience insights, as well as to develop and improve products.With your
permission we and our partners may use precise geolocation data and
identification through device scanning. You may click to consent to our and our
partners’ processing as described above. Alternatively you may access more
detailed information and change your preferences before consenting or to refuse
consenting.Please note that some processing of your personal data may not
require your consent, but you have a right to object to such processing. Your
preferences will apply to this website only. You can change your preferences at
any time by returning to this site or visit our privacy policy.
AGREE MORE OPTIONS



JAVAREVISITED

Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and
interview questions


Flipboard

LinkedIn



TOPICS AND CATEGORIES

 * core java
 * spring
 * hibernate
 * collections
 * multithreading
 * design patterns
 * interview questions
 * coding
 * data structure
 * OOP
 * java 8
 * books
 * About Me
 * Java Certifications
 * JDBC
 * jsp-servlet
 * JSON
 * SQL
 * Linux
 * Courses
 * online resources
 * jvm-internals
 * REST
 * Eclipse
 * jQuery
 * Java IO
 * Java XML


Disclosure: This article may contain affiliate links. When you purchase, we may
earn a small commission.



REVIEW - IS CERTIFIED ENTERPRISE BLOCKCHAIN PROFESSIONAL (CEBP) CERTIFICATION BY
101 BLOCKCHAINS WORTH IT?


Hello guys, last year, I was looking for a comprehensive Blockchain
Certification when I stumble upon Certified Enterprise Blockchain Professional
(CEBP) by 101 Blockchins.com, a site dedicate to teach you Blockchain, NFT,
Metaverse, and Web3 skills. This was the Blockchain course I was looking from
start as the most of the courses I found are either too shallow or too much
technical that you will start feeling sleepy from first lecture. This Blockchain
course was just right. It not only covers everything you need to know about
Blockchain technology but also cover them in engaging and detailed way. When I
first mention this course on my list of best Blockchain certifications and
courses, a lot of you asked me to publish a detailed review of this course and
here we are. 



Video Player is loading.
Play Video
Play
Unmute

Current Time 0:00
/
Duration 50:27
Loaded: 1.01%


00:00
Stream Type LIVE
Seek to live, currently behind liveLIVE
Remaining Time -50:27
 
1x
Playback Rate

Chapters
 * Chapters

Descriptions
 * descriptions off, selected

Captions
 * captions settings, opens captions settings dialog
 * captions off, selected

Audio Track
 * default, selected

Picture-in-PictureFullscreen

This is a modal window.



Beginning of dialog window. Escape will cancel and close the window.

TextColorWhiteBlackRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentBackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentTransparentWindowColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyTransparentSemi-TransparentOpaque
Font Size50%75%100%125%150%175%200%300%400%Text Edge
StyleNoneRaisedDepressedUniformDropshadowFont FamilyProportional
Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasualScriptSmall
Caps
Reset restore all settings to the default valuesDone
Close Modal Dialog

End of dialog window.

Advertisement






Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Blockchain , course review



REVIEW - IS FULL STACK WEB DEVELOPMENT WITH ANGULAR COURSE ON COURSERA WORTH IT?


Hello guys, if you are looking for the best Coursera course to learn Angular or
want to know whether the Full Stack Web Development with Angular Specialization
on Coursera is worth your time and money or not, then you have come to the right
place. Earlier, I have shared the best web development courses from Coursera,
and in this article, I will review the most popular Angular course - Full Stack
Web Development with Angular Specialization. This is also one of the best
Coursera specializations for Angular, and it contains 3 best courses to learn
Bootstrap, Angular, and Node.js to become a complete full-stack developer using
JavaScript. 



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Angular , course review , coursera , courses , web development



TOP 6 COURSES TO LEARN TYPESCRIPT FOR WEB DEVELOPMENT IN 2022 - BEST OF LOT


Hello guys, if you are thinking of learning TypeScript this year and looking for
some excellent resources like books, courses, and tutorials, then you have come
to the right place. In my last few articles, I have shared some of the best
Angular framework tutorials and courses, and today, I will share some of the
best TypeScript online courses you can join to learn it by yourself. Many
programmers and web developers are learning TypeScript because of its powerful
syntax and advanced OOP features and, more importantly, to develop Angular-based
applications. Since the Angular team has chosen TypeScript as the official
language for Angular development, it's crucial to know TypeScript if you want to
make full use of Angular, but that's not the only reason you should learn
TypeScript.




Read more »
By javin paul 1 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: courses , JavaScript , online resources , TypeScript



[SOLVED] HOW TO FIND MAXIMUM PRODUCT OF A SUB-ARRAY IN JAVA? EXAMPLE



In this article, we shall be finding the maximum product of a sub-array in java.
This problem has a lot to do with arrays. But first, we'll solve the problem
then we talk about Array and how it operates. The problem we are to solve here
is to find the maximum product of a subarray in Java. we won't just jump to the
writing of codes like code monkeys but, it is essential to understand the
problem we are solving first, so we can give the best approach in solutions to
it. when we say finding the maximum product of a sub-array it means getting the
total of a product in an array!




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Array , Coding problems



TOP 10 EDUCATIVE.IO COURSES TO LEARN ESSENTIAL PROGRAMMING SKILLS IN 2022 - BEST
OF LOT


Hello guys, today, I am going to talk about a new online learning platform
called Educative, a text-based, interactive learning platform. If you are an
online learner like me, you might have heard about Educative or come across some
of its excellent and most popular courses like Grokking the System Design
Interviews course, which I have mentioned earlier in my article about System
design Interviews questions. So, what is so special about Educative? How
different is it from other popular online platforms like Udemy, Coursera,
Pluralsight, and Codecademy? Well, Educative is different becuase it is mainly a
text-based learning platform that allows you to code and program right in the
browser.




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: courses , educative , online resources



REVIEW - IS GROKKING THE SYSTEM DESIGN INTERVIEW COURSE ON EDUCATIVE WORTH IT?


Hello guys, we are here again today for another exciting topic to discuss. But
today, we will not discuss something related to Java or any other language or
spring boot. Today, we will discuss something that is immensely practical and
has the potential to land you very high-paying jobs. Today we are going to
review a course that focuses on System Design! System Design is crucial for
coding interviews! And it's also one of the most challenging topics to master. I
have shared the best System design courses for coding interviews in the past.
Today, I will review one of the top system design courses for technical
discussions, Grokking the System Design Interview by Design Gurus Educative.io.



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: course review , educative , System Design



HOW TO ROTATE AN ARRAY TO LEFT OR RIGHT IN JAVA? EXAMPLE - LEETCODE SOLUTION


Hello guys, rotating an array in Java is a common coding problems which are
often used to teach beginners coding as well used during interviews to check
candidate's programming and data structure skills. This problem may look easy
but its not that easy, especially if you are not coding regular. In order to
rotate an array of n elements to the right by kth index, you need to rearrange
the item in such a way that the array will start from k + 1the element.  For
example, with n = 7 and k = 3, the array [1, 2, 3, 4 ,5, 6, 7] is rotated to [5,
6, 7, 1, 2, 3, 4]. See, it looks like you pick the the 4th element and rotated
the array in right direction. The problem becomes even more interesting when
interviewer ask you to rotate the array by left or right and in place. Could you
do it in-place with O(1) extra space?



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Array , Coding Interview Question , Coding problems



IS GROKKING THE MACHINE LEARNING INTERVIEW ON EDUCATIVE WORTH IT? REVIEW



Hello friends, we are here again today for another exciting topic to discuss.
But, today we are not gonna discuss something which is related to Java or any
other language or spring boot. Today we are gonna discuss something which is
immensely practical and has the potential to land you very high-paying data
science jobs.  Today we are gonna review a course that focuses on Machine
Learning! Machine Learning is very important when we are considering data
science interviews! So what's the wait? Let's start! On Educative.io, there is a
great course called Grokking the Machine Learning Interview. It couldn't have
come at a better moment, with machine learning expected to be a $3.6 billion
business by 2024.




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: course review , educative , machine learning



TOP 5 FREE C PROGRAMMING COURSES FOR BEGINNERS TO LEARN ONLINE IN 2022 - BEST OF
LOT


Hello guys, if you are learning C programming and looking for the best resources
like online courses and books then you have come to the right place. In the last
article, I have shared the best courses to learn C programming and in this
article, I am going to share the best free C programming courses for beginners.
C is one of the first programming language I learned and it's also one of the
first major programming languages is taught in Academics but it's also one of
the popular programming languages of the software industry. The majority of JVMs
and compilers are written in C. C has influenced the development of several
other programming languages.



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: C++ , courses , free resources



TOP 15 JAVA MULTITHREADING, CONCURRENCY INTERVIEW QUESTIONS ANSWERS ASKED IN
INVESTMENT BANKS


Multi-threading and concurrency questions are an essential part of any Java
interview. If you are going for any Java interview on any Investment bank like
Barclays, Citibank, Morgan Stanley, etc for the Cash Equities Front Office Java
Developer position, you can expect a lot of multi-threading interview questions
on your way. Multi-threading and concurrency are favorite topics on Investment
banking interviews,  especially on electronic trading development jobs and they
grill candidate on many tricky java thread interview questions. They just want
to ensure that the guy has a solid knowledge of multi-threading and concurrent
programming in Java because most of them are in the business of performance
which provides them a competitive advantage and it's hard to write correct and
robust concurrent code.




Read more »
By javin paul 34 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: core java , core java interview question , Java multithreading Tutorials
, thread interview questions



IS EDUCATIVE.IO WORTH TO LEARN TECH SKILLS? SHOULD YOU JOIN EDUCTAIVE? REVIEW


Hello guys, if you are thinking bout joining Educative to learn new tech skills
in a guided, an interactive manner but not sure then you have come to the right
place. In the past, I have shared best Educative courses for programmers and
software developers as well their best  free text based courses to learn
programming, and  also reviewed their best online courses like Grokking the
System Design course, and OOP Design course and in this article, I will review
the Educative.io for learning Tech skills and preparing for Coding Interviews
using online courses in 2022. 



Read more »
By javin paul 2 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: best of javarevisited , course review , educative , Review



5 BEST BOOKS TO LEARN CYBER SECURITY IN 2022



Hello guys, if you want to learn Cyber Security in 2022 and looking for best
resources like best books and online courses then you have come to the right
place. Earlier, I have shared best Cyber Security Courses, Tools, and Skills and
today, I am going to share best Cyber Security books for both beginners and
experienced IT professionals. You can read these books to learn important Cyber
Security concepts and tools. Nowadays, cyber security is fun and increases
awareness since the bad guys are attacking users' computers and other devices
and other companies for stealing sensitive information and money. If you want to
protect yourself from these attacks, I highly suggest taking one of these books
t help you understand cyber security.




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: books , Cyber Security , security



TOP 15 JAVA NIO, SOCKET, AND NETWORKING INTERVIEW QUESTIONS ANSWERS FOR
EXPERIENCED DEVELOPERS


Hello guys, if you are preparing for Java developer interview then you may know
that Networking and Socket Programming is one of the important areas of Java
programming language, especially for those programmers, who are working in
client server-based applications. Knowledge of important protocols like TCP and
UDP in detail is very important, especially if you are in the business of
writing high-frequency trading applications, which communicate via FIX Protocol
or native exchange protocol. In this article, we will some of the frequently
asked questions on networking and socket programming, mostly based around TCP IP
protocol. 



Read more »
By javin paul 2 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: core java interview question , interview questions , java networking
tutorial , Java NIO Tutorial



5 BEST PROGRAMMING LANGUAGES TO START YOUR CAREER IN SOFTWARE DEVELOPMENT AND
BEST COURSES TO LEARN THEM



Hello guys, If you want to become a Programmer or Software developer in 2022,
you should be an expert in not one, but multiple programming languages. It is an
absolute necessity to be skilled and fluent in more than one programming
language. But which programming languages should you master, you might be
asking. Well, don't worry. We have got your back.  Gone are the time when you
can just learn one programming language like Python, Java, or JavaScript and
done, nowadays every job demands more and there is always a couple of
programming language you can find in job description.




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: best of javarevisited , programming , python



TOP 5 CLOUD COMPUTING PLATFORMS JAVA PROGRAMMERS SHOULD KNOW


Cloud computing is Hot, it's the biggest IT trend of the last few years and will
continue to grow strong in the coming future. Cloud computing provides several
not-so-easy-to-ignore advantages, especially to public and small enterprises,
which cannot afford to own and maintain expensive data centers. Since most
online businesses nowadays need high availability, scalability, and resiliency,
with-in a quick time, it's not possible to achieve all these on your own, and
cloud computing becomes the best alternative here. Cloud service providers like
Amazon Web Services (AWS) has helped several firms to remain focus on their
business, without worrying for IT and infrastructure too much, this has yield
big result for them.




Read more »
By javin paul 4 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: best of javarevisited , cloud computing , general , IT professional



HOW TO SET CLASSPATH FOR JAVA ON WINDOWS AND LINUX? STEPS AND EXAMPLE


What is CLASSPATH in Java? Classpath in Java is the path to the directory or
list of the directory which is used by ClassLoaders to find and load classes in
the Java program. Classpath can be specified using CLASSPATH environment
variable which is case insensitive, -cp or -classpath command-line option or
Class-Path attribute in manifest.mf file inside the JAR file in Java.  In this
Java tutorial, we will learn What is Classpath in Java, how Java resolves
classpath and how Classpath works in Java alongside How to set the classpath for
Java in Windows and UNIX environment. 




Read more »
By javin paul 63 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: core java , core java interview question , Java basics , programming



HOW TO TRANSPOSE A MATRIX IN JAVA? EXAMPLE TUTORIAL


Hello guys, if you are wondering how to transpose a matrix in Java then you have
come to the right place. Matrix related coding problems are great way to learn
multi-dimensional array and nested loop and they are good programming exercise
for beginners. In the past, I have taught you how to multiply matrices in Java
and how to add/subtract matrices in Java, and in this article, I will show you
how to create transpose of a given matrix in Java, but before that let's first
understand what is transpose of a matrix means and how do you transpose a matrix
in maths? Well, a transpose of a matrix is nothing but a matrix whose rows and
columns are reversed. 



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: coding , Coding Interview Question , Coding problems , core java ,
programming



TOP 20 AMAZON AND GOOGLE PROGRAMMING INTERVIEW QUESTIONS FOR SOFTWARE DEVELOPERS


Hello, In this article I am going to sharing some frequently asked programming
job interviews from technical giants and startups. If you are going for a
programming job interview with Microsoft, Google, or Amazon, you better be
prepared for all kinds of questions. These companies are known to ask tough
questions, tricky puzzles, and lots of data structure and algorithm questions.
Since it's hard to prepare all these in a short time, it makes sense to at least
have a good idea of frequently asked programming questions in Microsoft, Google,
or Amazon.




Read more »
By javin paul 3 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , programmers



TOP 25 DEVOPS INTERVIEW QUESTIONS AND ANSWERS FOR EXPERIENCED DEVELOPERS



Hello guys, if you re preparing for DevOps Engineer interviews and looking for
frequently asked DevOps Interview questions then you have come to the right
place. Earlier, I have shared the DevOps RoadMap, best DevOps Courses,
and DevOps books and in this article, I will share the frequently asked DevOps
Interview Questions and their Answers. But, before we get to the most frequently
asked DevOps interview questions, let me tell you what DevOps actually is. I
know that most of you may already be familiar with it, but just bear with me for
a minute, okay?




Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: DevOps , interview questions



[SOLVED] HOW TO FIND LARGEST PRIME FACTOR OF A NUMBER IN JAVA? EXAMPLE


Hello guys, one of the common programming kata to learn coding is to write a
program to find the largest prime factor of a number. Earlier, we have solved
how to check if number is prime or not and in this article, we will calculate
prime factors of a given number in Java.  Like any other programming problem,
you need to build the logic to solve this problem. Before solving the problem,
let's revise the concept of number theory. Prime factors of a positive integer
are the prime numbers that divide the number exactly i.e. without any remainder,
and prime factorization is the process of finding all prime numbers when
multiplied together to make the original number.




Read more »
By javin paul 9 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , core java , programming



HOW TO SWAP TWO NUMBERS WITHOUT TEMP OR THIRD VARIABLE IN JAVA - INTERVIEW
QUESTION EXAMPLE


How to swap two numbers without using temp or third variable is a common
interview question not just on Java interviews but also on C and C++ interviews.
It is also a good programming question for freshers. This question was asked to
me long back and didn't have any idea about how to approach this question
without using temp or third variable, maybe lack of knowledge on bitwise
operators in Java or maybe it didn't click at that time. Given some time and
trial error, I eventually come out with a solution with just an arithmetic
operator but the interviewer kept asking about other approaches of swapping two
variables without using temp or third variable.




Read more »
By javin paul 51 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , core java , core java interview question ,
programming



HOW TO PRINT A LEFT TRIANGLE STAR PATTERN IN JAVA? EXAMPLE TUTORIAL


Pattern based exercises are very common on Interviews as they are tricky for
beginners and also offers coding practice. In the past, I have shared article on
how to print pyramid pattern of stars in Java and Pyramid pattern of albhabets,
and in this article, I will show you how to print left triangle star pattern in
Java. There are different ways of printing different patterns, but most of them
involves using loops and print methods like print() and println() to print
characters like star, alphabets or numbers. If you know how to use loops and
when to break from loop then you can easily solve pattern based coding problems.
In this section, we shall be writing a program to print a left triangle star
pattern. We would first implement that before I explain other things that you
need to know in getting this task done.



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , Coding problems , pattern based exercise



DIFFERENCE BETWEEN DIRECT, NON DIRECT AND MAPPED BYTEBUFFER IN JAVA?


ByteBuffer is one of the important classes of Java NIO API. It was introduced in
java.nio package on JDK 1.4, it not only allows you to operate on heap byte
arrays but also with direct memory, which resides outside the JVM. There are
mainly three types of ByteBuffer in Java - Direct Byte Buffer, Non-Direct
ByteBuffer, and mapped byte buffers. You can create both direct and non-direct
buffers using java.nio.ByteBuffer class, while MappedByteBuffer is a subclass of
ByteBuffer, which is created by FileChannel.map() method, to operate on
memory-mapped file. 



Read more »
By javin paul 0 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: java IO tutorial , Java NIO Tutorial



HOW TO FIND LARGEST AND SMALLEST OF N NUMBERS WITHOUT USING ARRAY IN JAVA?
EXAMPLE


One of the common programming questions is, how do you find the largest and
smallest number in N numbers without using arrays in Java? Can you write a
program to solve this problem? Well, it's very similar to the problem we have
seen before, find the largest and smallest of 3 integers. You can use the same
approach and generalize it for N numbers. All you need to do is start with
largest as Integer.MIN_VALUE and smallest number as Integer.MAX_VALUE and loop
through N numbers. At each iteration, compare the number with the largest and
smallest number, if the current number is larger than the largest then it's a
new largest, and if the current number is smaller than the smallest then it's a
new smallest number.




Read more »
By javin paul 7 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , core java



HOW TO REMOVE DUPLICATE CHARACTERS FROM STRING IN JAVA? EXAMPLE


This week's coding exercise is to remove duplicate characters from String in
Java. For example, if the given String is "aaaaaa" then the output should be
"a", because the rest of the "a" are duplicates. Similarly, if the input is
"abcd" then the output should also be "abcd" because there is no duplicate
character in this String.  By the way, you can not use any third-party library
or Java API method to solve this problem, you need to develop your own logic or
algorithm and then write code to implement that algorithm. This is one of the
interesting problems from Java coding interviews and you can use this program to
weed out Java programmers who cannot write code.




Read more »
By javin paul 22 comments
Email This BlogThis! Share to Twitter Share to Facebook
Labels: Coding Interview Question , String

Page 1 of 2871234567...287Next »Last

Subscribe to: Posts ( Atom )



SUBSCRIBE FOR DISCOUNTS AND UPDATES

Follow



SEARCH THIS BLOG







INTERVIEW QUESTIONS

 * core java interview question (175)
 * data structure and algorithm (84)
 * interview questions (79)
 * Coding Interview Question (77)
 * object oriented programming (37)
 * SQL Interview Questions (35)
 * design patterns (35)
 * spring interview questions (30)
 * thread interview questions (30)
 * collections interview questions (25)
 * database interview questions (16)
 * servlet interview questions (15)
 * Programming interview question (6)
 * hibernate interview questions (6)





BEST OF JAVAREVISITED

 * How Spring MVC works internally?
 * How to design a vending machine in Java?
 * How HashMap works in Java?
 * Why String is Immutable in Java?
 * 10 Articles Every Programmer Must Read
 * How to convert lambda expression to method reference in Java 8?
 * 10 Tips to improve Programming Skill
 * 10 OOP design principles programmer should know
 * How Synchronization works in Java?
 * 10 tips to work fast in Linux
 * 5 Books to improve Coding Skills






JAVA TUTORIALS

 * date and time tutorial (24)
 * FIX protocol tutorial (15)
 * Java Certification OCPJP SCJP (33)
 * java collection tutorial (79)
 * java IO tutorial (29)
 * Java JSON tutorial (14)
 * Java multithreading Tutorials (60)
 * Java Programming Tutorials (19)
 * Java xml tutorial (16)
 * JDBC (34)
 * jsp-servlet (37)
 * online resources (225)


 1. 
 2. 
 3. 
 4. 

Video Player is loading.
Play Video
Play
Unmute

Current Time 0:00
/
Duration 0:05
Loaded: 100.00%


0:00
Stream Type LIVE
Seek to live, currently behind liveLIVE
Remaining Time -0:05
 
1x
Playback Rate

Chapters
 * Chapters

Descriptions
 * descriptions off, selected

Captions
 * captions settings, opens captions settings dialog
 * captions off, selected

Audio Track

Picture-in-PictureFullscreen

This is a modal window.



Beginning of dialog window. Escape will cancel and close the window.

TextColorWhiteBlackRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentBackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentTransparentWindowColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyTransparentSemi-TransparentOpaque
Font Size50%75%100%125%150%175%200%300%400%Text Edge
StyleNoneRaisedDepressedUniformDropshadowFont FamilyProportional
Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasualScriptSmall
Caps
Reset restore all settings to the default valuesDone
Close Modal Dialog

End of dialog window.

Advertisement







TOP 5 BOOKS TO LEARN DEVOPS FOR DEVELOPERS - BEST OF LOT


10 EXAMPLES OF CURL COMMAND IN UNIX AND LINUX


TOP 5 COURSES TO LEARN ECLIPSE IDE FOR JAVA PROGRAMMERS - BEST OF LOT


10 EXAMPLES OF GREP COMMAND IN UNIX AND LINUX





GET NEW BLOG POSTS ON YOUR EMAIL

GET NEW POSTS BY EMAIL:


Subscribe



FOLLOWERS





TRANSLATE THIS BLOG

Sprache
auswählenDeutschAfrikaansAlbanischAmharischArabischArmenischAserbaidschanischBaskischBelarussischBengalischBirmanischBosnischBulgarischCebuanoChichewaChinesisch
(traditionell)Chinesisch
(vereinfacht)DänischEsperantoEstnischFilipinoFinnischFranzösischFriesischGalizischGeorgischGriechischGujaratiHaitianischHausaHawaiischHebräischHindiHmongIgboIndonesischIrischIsländischItalienischJapanischJavanischJiddischKannadaKasachischKatalanischKhmerKinyarwandaKirgisischKoreanischKorsischKroatischKurdisch
(Kurmandschi)LaoLateinischLettischLitauischLuxemburgischMalagasyMalayalamMalaysischMaltesischMaoriMarathiMazedonischMongolischNepalesischNiederländischNorwegischOdia
(Oriya)PaschtuPersischPolnischPortugiesischPunjabiRumänischRussischSamoanischSchottisch-GälischSchwedischSerbischSesothoShonaSindhiSinghalesischSlowakischSlowenischSomaliSpanischSuaheliSundanesischTadschikischTamilTatarischTeluguThailändischTschechischTürkischTurkmenischUigurischUkrainischUngarischUrduUsbekischVietnamesischWalisischXhosaYorubaZulu
  Powered by Google Übersetzer



CATEGORIES

 * courses (377)
 * SQL (68)
 * database (49)
 * linux (46)
 * Java Certification OCPJP SCJP (33)
 * Eclipse (30)
 * REST (26)
 * JVM Internals (24)
 * JQuery (21)
 * general (18)
 * Testing (16)
 * Maven (15)




BLOG ARCHIVE

 * ▼  2022 (398)
   * ▼  May (81)
     * Review - Is Certified Enterprise Blockchain Profes...
     * Review - Is Full Stack Web Development with Angula...
     * Top 6 Courses to Learn TypeScript for Web Developm...
     * [Solved] How to Find maximum Product of a sub-arr...
     * Top 10 Educative.io Courses to Learn Essential Pro...
     * Review - Is Grokking the System Design interview C...
     * How to Rotate an Array to Left or Right in Java? E...
     * Is Grokking the Machine Learning Interview on Educ...
     * Top 5 Free C programming Courses for Beginners to ...
     * Top 15 Java Multithreading, Concurrency Interview ...
     * Is Educative.io worth to Learn Tech Skills? Should...
     * 5 Best Books To Learn Cyber Security in 2022
     * Top 15 Java NIO, Socket, and Networking Interview ...
     * 5 Best Programming Languages To Start Your Career ...
     * Top 5 Cloud Computing Platforms Java Programmers S...
     * How to Set Classpath for Java on Windows and Linux...
     * How to Transpose a Matrix in Java? Example Tutorial
     * Top 20 Amazon and Google Programming Interview Que...
     * Top 25 DevOps Interview Questions and Answers for ...
     * [Solved] How to find Largest Prime Factor of a Num...
     * How to Swap Two Numbers Without Temp or Third Vari...
     * How to Print a left triangle star pattern in Java?...
     * Difference between Direct, Non Direct and Mapped B...
     * How to Find Largest and Smallest of N numbers with...
     * How to Remove Duplicate Characters from String in ...
     * Difference between ByteBuffer vs byte array in Java
     * The 2022 Laravel Developer RoadMap
     * How to Reverse a String in place in Java - Example
     * How to create an Array of Prime numbers in Java [ ...
     * Top 20 Kubernetes Interview Questions with Answers
     * The 2022 Data Analyst Roadmap
     * [Solved] Fibonacci Series in Java using Recursion ...
     * Top 20 Docker Container Interview Questions Answer...
     * Top 12 SQL Query Questions from Interviews for Pra...
     * Quicksort Sorting Algorithm in Java - Example and ...
     * 10 Essential Skills For Cyber Security Professiona...
     * [Solved] How to Implement Binary Search in Java wi...
     * The 2022 Python Developer Roadmap
     * [Solved] How to find the 3rd (kth) Node from end o...
     * 10 Essential Skills For Data Analyst in 2022
     * [Solved] How to reverse an ArrayList in place in J...
     * 2 Ways to Check if a String is Rotation of Other i...
     * How to Find Multiple Missing Integers in Given Arr...
     * 50 Free Spring Professional Certification Practice...
     * The 2022 iOS App Developer RoadMap
     * Top 30 Linked List Algorithm Questions from Progra...
     * How to Print Fibonacci Series in Java without Recu...
     * How to set an "Accept:" header on Spring RestTempl...
     * Difference between Statement vs PreparedStatement ...
     * What is Bean scope in Spring MVC Framework with Ex...
     * Top 10 Udemy Instructors to Learn Software Develop...
     * String vs StringBuffer vs StringBuilder in Java? E...
     * [Solved] How to find first recurring character in ...
     * 5 Ways to find length of String in Java - Example ...
     * 5 Projects You can do to learn Flutter in 2022
     * 10 Examples of Joining String in Java - String.joi...
     * Difference between Period and Duration class in Ja...
     * 3 Ways to Remove Duplicates from a table in SQL - ...
     * How to use EXISTS and NOT Exists in SQL? Example ...
     * 10 Best Courses Of Brad Traversy on Udemy to Learn...
     * 5 Examples of GROUP BY Clause in SQL with Aggregat...
     * What is difference between SQL, T-SQL and PL/SQL? ...
     * 3 ways to learn MERN stack in depth in 2022
     * How to check for Null in SQL Query? IS NULL Exampl...
     * How to Find Duplicate values in a Table? SQL GROUP...
     * Java 8 forEach() Loop Example
     * Top 10 Google Interview Questions for Software Eng...
     * Difference between Transient, Persistent, and Deta...
     * Top 5 programming languages for Artificial Intelli...
     * 10 Reasons to Learn SQL for Programmers and Softwa...
     * How Long does It take To Learn Linux?
     * Top 20 PostgreSQL Interview Questions With Answers
     * How to return JSON, XML or Thymeleaf Views from Sp...
     * How to validate incoming payload on Spring MVC con...
     * 10 Best Udemy Courses of Stephane Maarek to Learn ...
     * [2022 Udemy Course Review] - The Web Developer Boo...
     * Top 5 Online Courses to Learn C# in 2022 - Best of...
     * Top 5 Online Courses to Learn Maven in 2022 - Best...
     * 10 Best Udemy Courses of Neal Davis to Learn AWS a...
     * Top 10 Coursera Certifications and Courses to Lear...
     * Top 5 Project-Based Courses to learn Coding with J...
   * ►  April (173)
   * ►  March (29)
   * ►  February (53)
   * ►  January (62)

 * ►  2021 (1155)
   * ►  December (165)
   * ►  November (124)
   * ►  October (49)
   * ►  September (68)
   * ►  August (249)
   * ►  July (424)
   * ►  June (9)
   * ►  May (13)
   * ►  April (17)
   * ►  March (22)
   * ►  February (8)
   * ►  January (7)

 * ►  2020 (109)
   * ►  December (13)
   * ►  November (16)
   * ►  October (8)
   * ►  September (4)
   * ►  August (5)
   * ►  July (11)
   * ►  June (2)
   * ►  May (9)
   * ►  April (21)
   * ►  March (11)
   * ►  February (9)

 * ►  2019 (25)
   * ►  December (3)
   * ►  November (6)
   * ►  October (4)
   * ►  August (1)
   * ►  July (2)
   * ►  June (2)
   * ►  May (1)
   * ►  April (3)
   * ►  February (1)
   * ►  January (2)

 * ►  2018 (5)
   * ►  September (1)
   * ►  August (1)
   * ►  July (2)
   * ►  June (1)

 * ►  2017 (26)
   * ►  December (2)
   * ►  November (3)
   * ►  October (5)
   * ►  September (3)
   * ►  July (3)
   * ►  June (6)
   * ►  May (3)
   * ►  April (1)




REFERENCES

 1. Oracle's Java Tech Network
 2. jQuery Documentation
 3. Microsoft SQL Server Documentation
 4. Java SE 8 API Documentation
 5. Spring Documentation
 6. Oracle's JAva Certification
 7. Spring Security 5 Documentation




PAGES

 * Privacy Policy
 * Terms and Conditions


Copyright by Javin Paul 2010-2021. Powered by Blogger.



SEARCH THIS BLOG








Diese Website verwendet Cookies von Google, um Dienste anzubieten und Zugriffe
zu analysieren. Deine IP-Adresse und dein User-Agent werden zusammen mit
Messwerten zur Leistung und Sicherheit für Google freigegeben. So können
Nutzungsstatistiken generiert, Missbrauchsfälle erkannt und behoben und die
Qualität des Dienstes gewährleistet werden.Weitere InformationenOk
×
Developing Cloud-Native Apps w/ Microservices Architectures (FREE Course)
Yes, PleaseNo, Thanks

AddThis

We now have a youtube channel. Subscribe for the video content.
YES, Please!

Show
AddThis What's Next
Recommended for you
Top 50 Java Programs from Coding Interviews
javarevisited.blogspot.com

AddThis
Hide


ORIGINALTEXT


Bessere Übersetzung vorschlagen

--------------------------------------------------------------------------------