<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JAVA Archives - Petamind</title>
	<atom:link href="https://petaminds.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>https://petaminds.com/tag/java/</link>
	<description>A.I, Data and Software Engineering</description>
	<lastBuildDate>Tue, 05 Oct 2021 06:08:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://petaminds.com/wp-content/uploads/2019/09/ic_launcher.png</url>
	<title>JAVA Archives - Petamind</title>
	<link>https://petaminds.com/tag/java/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WHY DO WE NEED TO OVERRIDE EQUALS AND HASHCODE METHODS IN JAVA/Kotlin</title>
		<link>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/</link>
					<comments>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 02:12:56 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[equals]]></category>
		<category><![CDATA[hashcode]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2889</guid>

					<description><![CDATA[<p>In this post, we will discuss why it is important to&#160;override equals and hashCode method&#160;in Java/Kotlin. Item 9 in Josh Bloch’s Effective Java suggests always override&#160;hashCode()&#160;method if the class overrides&#160;equals(). In this post, we will discuss why this is necessary and good practice. &#160;We know that two objects are considered equal only if their references [&#8230;]</p>
<p>The post <a href="https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/">WHY DO WE NEED TO OVERRIDE EQUALS AND HASHCODE METHODS IN JAVA/Kotlin</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/why-do-we-need-to-override-equals-and-hashcode-methods-in-java-kotlin/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial: Multi-touch gesture for android</title>
		<link>https://petaminds.com/tutorial-multi-touch-gesture-for-android/</link>
					<comments>https://petaminds.com/tutorial-multi-touch-gesture-for-android/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Fri, 23 Oct 2020 03:34:21 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[full-stack]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[gesture]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<category><![CDATA[multi-touch]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2853</guid>

					<description><![CDATA[<p>Multi-touch gestures are very useful in many common scenarios, such as zooming, panning. For game development, handling multi-touch is essential. This post will give a quick guide for handling multi-touch points. Project structure We create a new project name MultiTouch with Java and add a new class named GameScene as a subclass of android.view.View. The [&#8230;]</p>
<p>The post <a href="https://petaminds.com/tutorial-multi-touch-gesture-for-android/">Tutorial: Multi-touch gesture for android</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/tutorial-multi-touch-gesture-for-android/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Asteroid Collision Solution &#8211; Leetcode coding challenge</title>
		<link>https://petaminds.com/asteroid-collision-solution-leetcode-coding-challenge/</link>
					<comments>https://petaminds.com/asteroid-collision-solution-leetcode-coding-challenge/#respond</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Fri, 02 Oct 2020 01:57:00 +0000</pubDate>
				<category><![CDATA[data science]]></category>
		<category><![CDATA[asteroid]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[collision]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[leetcode]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2845</guid>

					<description><![CDATA[<p>The following asteroid collision problem is from Leetcode. The problem We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the state of the [&#8230;]</p>
<p>The post <a href="https://petaminds.com/asteroid-collision-solution-leetcode-coding-challenge/">Asteroid Collision Solution &#8211; Leetcode coding challenge</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/asteroid-collision-solution-leetcode-coding-challenge/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Touch me if you can (V.0.1)- Hero vs monsters game</title>
		<link>https://petaminds.com/touch-me-if-you-can-v-0-1-hero-vs-monsters-game/</link>
					<comments>https://petaminds.com/touch-me-if-you-can-v-0-1-hero-vs-monsters-game/#respond</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Tue, 25 Aug 2020 07:30:12 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Game Dev]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[assignment]]></category>
		<category><![CDATA[custom view]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[monster]]></category>
		<category><![CDATA[surface]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2661</guid>

					<description><![CDATA[<p>This is a (very) simple JAVA implementation of the game &#8220;hero vs monsters&#8221; as part of the year 1 BSE lab. The implementation is mainly for demonstrating the custom view and touch event. Video tutorial is at the end of the article. The UI it will be a very simple UI with only one view [&#8230;]</p>
<p>The post <a href="https://petaminds.com/touch-me-if-you-can-v-0-1-hero-vs-monsters-game/">Touch me if you can (V.0.1)- Hero vs monsters game</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/touch-me-if-you-can-v-0-1-hero-vs-monsters-game/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top programming languages to learn 2020-2021</title>
		<link>https://petaminds.com/top-programming-languages-to-learn-2020-2021/</link>
					<comments>https://petaminds.com/top-programming-languages-to-learn-2020-2021/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Thu, 30 Jul 2020 22:38:00 +0000</pubDate>
				<category><![CDATA[full-stack]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[2020]]></category>
		<category><![CDATA[2021]]></category>
		<category><![CDATA[2022]]></category>
		<category><![CDATA[GO]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Rust]]></category>
		<category><![CDATA[SWIFT]]></category>
		<category><![CDATA[top language]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2475</guid>

					<description><![CDATA[<p>&#8220;What is the best programming language to learn&#8221; is generally not a good question. A language should bind to a purpose, developing environment. Set it aside, popular languages often come with trending jobs. Here is the list of top 7 programming languages to consider in 2020 and 2021. 1.  Python The programming language continues to [&#8230;]</p>
<p>The post <a href="https://petaminds.com/top-programming-languages-to-learn-2020-2021/">Top programming languages to learn 2020-2021</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/top-programming-languages-to-learn-2020-2021/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Create a trainable chatbot with java</title>
		<link>https://petaminds.com/how-to-create-a-simple-trainable-chatbot-with-java/</link>
					<comments>https://petaminds.com/how-to-create-a-simple-trainable-chatbot-with-java/#respond</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Thu, 16 Apr 2020 02:12:20 +0000</pubDate>
				<category><![CDATA[back-end]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[Game Dev]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2356</guid>

					<description><![CDATA[<p>A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. This article will demonstrate a short fun coding piece to simulate a chatbot. Its objectives are: Accept input from the console as a string and give an answer If the bot cannot find [&#8230;]</p>
<p>The post <a href="https://petaminds.com/how-to-create-a-simple-trainable-chatbot-with-java/">Create a trainable chatbot with java</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/how-to-create-a-simple-trainable-chatbot-with-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fun coding challenge: print the American flag</title>
		<link>https://petaminds.com/fun-coding-challenge-print-the-american-flag/</link>
					<comments>https://petaminds.com/fun-coding-challenge-print-the-american-flag/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Fri, 25 Oct 2019 21:40:40 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Angular]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[Game Dev]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=1514</guid>

					<description><![CDATA[<p>Printing is an important part when programming. Printing the US flag to the system console was a small part of &#8220;the shape game&#8221; for kids, in which the players will select the correct name for a given shape. Basic Requirements: You are required to print the American flag to the console using just &#8220;*&#8221; and [&#8230;]</p>
<p>The post <a href="https://petaminds.com/fun-coding-challenge-print-the-american-flag/">Fun coding challenge: print the American flag</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/fun-coding-challenge-print-the-american-flag/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Check if a string is a palindrome</title>
		<link>https://petaminds.com/check-if-a-string-is-a-palindrome/</link>
					<comments>https://petaminds.com/check-if-a-string-is-a-palindrome/#respond</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Sun, 04 Aug 2019 22:46:59 +0000</pubDate>
				<category><![CDATA[front-end]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<category><![CDATA[palindrome]]></category>
		<category><![CDATA[string]]></category>
		<guid isPermaLink="false">https://petaminds.com/?p=2620</guid>

					<description><![CDATA[<p>A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, racecar. There are also numeric palindromes, including date/time stamps using short digits 11/11/11 11:11 and long digits 02/02/2020. Sentence-length palindromes ignore capitalization, punctuation, and word boundaries, so &#8220;A man, a plan, a canal, Panama!&#8221; is treated as AMANAPLANACANALPANAMA. Example 1: Input: "A man, a [&#8230;]</p>
<p>The post <a href="https://petaminds.com/check-if-a-string-is-a-palindrome/">Check if a string is a palindrome</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/check-if-a-string-is-a-palindrome/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>String interpolation in different programming languages</title>
		<link>https://petaminds.com/string-interpolation-in-different-programming-languages/</link>
					<comments>https://petaminds.com/string-interpolation-in-different-programming-languages/#comments</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Mon, 03 Dec 2018 10:19:11 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Angular]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[data science]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[full-stack]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Dart]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[Kotlin]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[string interpolation]]></category>
		<category><![CDATA[SWIFT]]></category>
		<guid isPermaLink="false">http://petaminds.com/?p=343</guid>

					<description><![CDATA[<p>This article quickly lists out several example to create and manipulate a string from data in different programming languages.</p>
<p>The post <a href="https://petaminds.com/string-interpolation-in-different-programming-languages/">String interpolation in different programming languages</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/string-interpolation-in-different-programming-languages/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Random seed</title>
		<link>https://petaminds.com/random-seed/</link>
					<comments>https://petaminds.com/random-seed/#respond</comments>
		
		<dc:creator><![CDATA[Tung Nguyen]]></dc:creator>
		<pubDate>Sat, 10 Nov 2018 00:29:22 +0000</pubDate>
				<category><![CDATA[back-end]]></category>
		<category><![CDATA[data science]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[full-stack]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Seed]]></category>
		<guid isPermaLink="false">http://petaminds.com/?p=332</guid>

					<description><![CDATA[<p> if you want to have control to the random sequence or let other people to generate the same sequence of random numbers, take a seed.</p>
<p>The post <a href="https://petaminds.com/random-seed/">Random seed</a> appeared first on <a href="https://petaminds.com">Petamind</a>.</p>
]]></description>
		
					<wfw:commentRss>https://petaminds.com/random-seed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
