tag:blogger.com,1999:blog-88118139280182222882024-03-14T07:39:09.622-07:00.Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-8811813928018222288.post-12106144869674380202012-12-10T13:23:00.002-08:002012-12-10T13:23:29.537-08:00THANK YOU!!! THANK YOU!!! THANK YOU!!!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCeTb_zCunYVRviFM7C8ZwXYu64s0CFv8Id9fESAfe3QaAKf5TtqPiaq9r8NGGX-1Zx4rD63n5NQU7oWPZqb0tmhtsVb5mDHwGBZefsIArvL0gNtYyvtVQ49sAqJDQxuZJZx9jJP4zxG2/s1600/thank-you.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCeTb_zCunYVRviFM7C8ZwXYu64s0CFv8Id9fESAfe3QaAKf5TtqPiaq9r8NGGX-1Zx4rD63n5NQU7oWPZqb0tmhtsVb5mDHwGBZefsIArvL0gNtYyvtVQ49sAqJDQxuZJZx9jJP4zxG2/s320/thank-you.jpg" width="320" /></a></div>
<br />
<br />
Last night I was searching the net for Android resources as I normally do and came across this article <a href="http://www.kinvey.com/blog/697/guides-amp-tools-to-help-get-started-with-android-programming" target="_blank">Guides & Tools to Help Get Started with Android Programming</a> and to my suprise noticed that one of my blog posts had been mentioned in their article! So just for shits and giggles I decided to login to my deserted blog and was AMAZED at the response from the android community. It made my night , I wanted to respond to all of you're comments individually in a way that everyone who has left me comments would get their personalized response, unfortunately blogger doesn't have multilevel threaded comments :( Im working on a solution to this now, but in the meantime if you have questions or need help in Android/Java feel free to contact me via Facebook or Twitter <br />
<br />
The good news is after reading so many kind words and seeing my posts are appreciated and needed in the community I am pleased to announce im back and blogging for the forseable future on a regular basis!! You can look forward to many resources to come friends!<br />
<br />
<br />Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com11tag:blogger.com,1999:blog-8811813928018222288.post-81201743844602510112011-11-05T23:56:00.000-07:002011-11-06T00:37:06.336-07:009 Amazing Examples of Parsing XML in Android w. Tuts [Source Code] [Video]<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">Ive found the best way of learning something in Android is to look at about 5 to 10 different varriations of code that accomplish the same thing. Doing this gives you a sense of whats consistant in all the examples and how you can and can and cant manipulate the code.</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">1. TheNewBoston/MyBringBack via Youtube:</span><br />
<span class="Apple-style-span" style="color: lime; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://youtu.be/Z1rtldBTzCE">http://youtu.be/Z1rtldBTzCE</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">2.Programmer-XR:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://p-xr.com/android-tutorial-how-to-parseread-xml-data-into-android-listview/">http://p-xr.com/android-tutorial-how-to-parseread-xml-data-into-android-listview/</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">3.AndroidPeople SAX Parsing:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser">http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">4.AndroidPeople DOM Parsing:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.androidpeople.com/android-xml-parsing-tutorial-%E2%80%93-using-domparser">http://www.androidpeople.com/android-xml-parsing-tutorial-–-using-domparser</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">5.WarriorPoint:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.warriorpoint.com/blog/2009/07/19/android-simplified-source-code-for-parsing-and-working-with-xml-data-and-web-services-in-android/">http://www.warriorpoint.com/blog/2009/07/19/android-simplified-source-code-for-parsing-and-working-with-xml-data-and-web-services-in-android/</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">6.</span><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">ctctlabs:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.blogger.com/goog_1044993615">http://www.ctctlabs.com/index.php/blog/detail/parsing_xml_on_android/</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">7.AndDev User Submitted Tuts by</span><span class="Apple-style-span" style="line-height: 12px;"><b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"> XCaffeinated</span></b></span><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.anddev.org/using_xmlresourceparser_to_parse_custom_compiled_xml-t9313.html">http://www.anddev.org/using_xmlresourceparser_to_parse_custom_compiled_xml-t9313.html</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">8.AndDev User Submitted Tuts by PlusMinus:</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html">http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html</a></span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">9.IBM Android Tuts: </span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">If your new to Android this example and explaination might be a little confusing, its loaded with complicated java jargon experienced developers love to throw around casually as if they were born with such a vocabulary and you should of to, but in reality the reason why programming is complicated isnt because it actually is complicated, its because the people who useually become programmers are complicated. Its there way of scaring away the avg person from ever trying to learn their god like skills.</span><br />
<span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><a href="http://www.ibm.com/developerworks/opensource/library/x-android/index.html?ca=dgr-lnxw82Android-XML&S_TACT=105AGX59&S_CMP=grlnxw82">http://www.ibm.com/developerworks/opensource/library/x-android/index.html?ca=dgr-lnxw82Android-XML&S_TACT=105AGX59&S_CMP=grlnxw82</a></span>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com6tag:blogger.com,1999:blog-8811813928018222288.post-89528612067387896162011-10-28T23:15:00.000-07:002011-10-29T00:01:57.099-07:00WALKTHROUGH:TNB Java Tut 50 -"Graphical User Interface GUI" [VIDEO] [SOURCE CODE]<div style="text-align: center;"><span style="font-size: x-small;"><span style="font-size: small;"><span style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">In this walk-through you will create a simple GUI that will use 2 shoInputDialogs and a showMessageDialog to find the sum of two numbers input from the user. </span></span></span><br />
<div style="text-align: left;"><span style="font-size: x-small;"><span style="font-size: small;"><span style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"> </span></span><br />
</span></div></div><div style="text-align: left;"><b>Whats New In This Walk-Through:</b></div><ul style="text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuIyAAr8yM_utDe-qFYrHZt7HJgP3c61c706QgPxYl1Nv0E7Pnvod5AkoRCRephgtw6-ZMOEXVdIY4eKgxVo230YklKB7B00utCE2nkIOYTf6ZzUITHeMP0U56MFnbPhhxJ4vsqiagb-kb/s1600/TNB50_firstNum.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="85" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuIyAAr8yM_utDe-qFYrHZt7HJgP3c61c706QgPxYl1Nv0E7Pnvod5AkoRCRephgtw6-ZMOEXVdIY4eKgxVo230YklKB7B00utCE2nkIOYTf6ZzUITHeMP0U56MFnbPhhxJ4vsqiagb-kb/s200/TNB50_firstNum.png" width="200" /></a>
<li>showInputDialog's- A graphical box that users can input data from</li>
<li>Integer.parseInt - A method used to convert a string number to a int var</li>
<li>Using showMessageDialog's-A graphical box that can display a message</li>
</ul><ul></ul><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='420' height='266' src='https://www.youtube.com/embed/jJjg4JweJZU?feature=player_embedded' frameborder='0'></iframe></div><br />
</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><span style="font-size: small;"><b><br />
</b></span></div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><span style="font-size: small;"><b>Step 1.</b> Import javax.swing.JOptionPane:</span></div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><a href="http://s798.photobucket.com/albums/yy267/BuhzHyve/?action=view&current=TNB50_Step1.png" target="_blank"><img alt="Photobucket" border="0" src="http://i798.photobucket.com/albums/yy267/BuhzHyve/TNB50_Step1.png" /></a><br />
<br />
<div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">Step 2. Declare a class and a main method:</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZdID0SP3GzeRuJrJOZa7g_44FVW9S7W94I583PNZ1uyIZ8XS83AM6cyF9-8J_Cto8GTUktW4rJ0gp_4ixFY3-ZYDV7t_xJ_gFmSgC40wm5T9pbi9TPkQqIUbf1OsIha_Qk9SaxrNl8IQy/s1600/TNB50_Step2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZdID0SP3GzeRuJrJOZa7g_44FVW9S7W94I583PNZ1uyIZ8XS83AM6cyF9-8J_Cto8GTUktW4rJ0gp_4ixFY3-ZYDV7t_xJ_gFmSgC40wm5T9pbi9TPkQqIUbf1OsIha_Qk9SaxrNl8IQy/s1600/TNB50_Step2.png" /></a></div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNReiRwXgHfK2Y9iAMhfJAEeGr0IaR35Y45wUSTDnxZ48tI5_8VZocI-c7isGbZ6R0UnRzm8K2FBenhFlJy8hzXkP3KJCDvfjAvB5_5YMTYXH-8n_E0BnLMgefluHyp4_D0Ouo-45Mu3mO/s1600/TNB50_firstNum.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNReiRwXgHfK2Y9iAMhfJAEeGr0IaR35Y45wUSTDnxZ48tI5_8VZocI-c7isGbZ6R0UnRzm8K2FBenhFlJy8hzXkP3KJCDvfjAvB5_5YMTYXH-8n_E0BnLMgefluHyp4_D0Ouo-45Mu3mO/s1600/TNB50_firstNum.png" /></a></div>Step 3.Create 2 String variable and set them equal to a showInputDialog:</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9GUEr0EOmBOA_UGJGpOEsw5bnsPaHwYXoCAwLqm_ffhNOIEo6U-oilUpri4z2DyLnFFVNtZBvJOXogi-TLL-E-WhPvNyuV4_Ua5VoeQKg0zGuNOZe8wpebRda19CHFuLl60ZW5eeEtQI/s1600/TNB50_Step3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9GUEr0EOmBOA_UGJGpOEsw5bnsPaHwYXoCAwLqm_ffhNOIEo6U-oilUpri4z2DyLnFFVNtZBvJOXogi-TLL-E-WhPvNyuV4_Ua5VoeQKg0zGuNOZe8wpebRda19CHFuLl60ZW5eeEtQI/s1600/TNB50_Step3.png" /></a></div><br />
<br />
<div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">Step 4. Create two int variable and set them equal to the Strings we collected from the user via the showInputDialog (you will need to parse the strings before you can set them equal to a int variable):</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0aPp7CBEcBgwdgbt39DUECDde1Qp8mj66YBkTxfmIc-P5_Y4bE8IbyuxTipYoD7ZlUGJXqHBGnzxC3hgIkNMNBQOu_079lspu1YEYjEvty6NoKDpkwan1BFxg-YuddHJJoQ_zaR1KTYk-/s1600/TNB50_Step4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0aPp7CBEcBgwdgbt39DUECDde1Qp8mj66YBkTxfmIc-P5_Y4bE8IbyuxTipYoD7ZlUGJXqHBGnzxC3hgIkNMNBQOu_079lspu1YEYjEvty6NoKDpkwan1BFxg-YuddHJJoQ_zaR1KTYk-/s1600/TNB50_Step4.png" /></a></div><br />
<br />
<div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">Step 5.Create a third int var and set it equal to the sum of int var1 and int var2:</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX_Rogkg7Klpf7kYmBH-AGR9eSqf7kiO4mnRYr6rfGiHciekdlg1GYhKtO5mHKl_AfwShjX3CLiId2SJfgllrvwqqvKdscnetHbFNx0y-ti8-ZvqR4APwfJB-GtqK8ct-MDsJLKhKKovgc/s1600/TNB50_Step5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX_Rogkg7Klpf7kYmBH-AGR9eSqf7kiO4mnRYr6rfGiHciekdlg1GYhKtO5mHKl_AfwShjX3CLiId2SJfgllrvwqqvKdscnetHbFNx0y-ti8-ZvqR4APwfJB-GtqK8ct-MDsJLKhKKovgc/s1600/TNB50_Step5.png" /></a></div><br />
<div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><br />
</div><div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXo24fFOyRxYZ5mUkH1m5A1dDYDSouW5zNIZ71SXNNU7rX3pJ10PZD1rkZbFokqClUxGe8nRgMM6ZsNtgQvVBsbXGdBv4d9wmXj0rmphz59dGZlBFwgeeXWLa4cGx9GeL8t2soB61Jo-yB/s1600/TNB50_answer.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXo24fFOyRxYZ5mUkH1m5A1dDYDSouW5zNIZ71SXNNU7rX3pJ10PZD1rkZbFokqClUxGe8nRgMM6ZsNtgQvVBsbXGdBv4d9wmXj0rmphz59dGZlBFwgeeXWLa4cGx9GeL8t2soB61Jo-yB/s1600/TNB50_answer.png" /></a></div>Step 6. Create a showMessageDialog that will display the sum of the two numbers in sentence form: </div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ4eDEI9fyXUDXRh-C3V3lpyKPuP7lHqH2RndXuacN7o2hR6Hfsylaa8EDA7vG_FfaULyt9poo4rxl_-zhla8HgVCawOti6bqpM_s4MteyIKAJkYbmR1xtC-606dQ7bN782jzmcVkKxYi9/s1600/TNB50_Step6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ4eDEI9fyXUDXRh-C3V3lpyKPuP7lHqH2RndXuacN7o2hR6Hfsylaa8EDA7vG_FfaULyt9poo4rxl_-zhla8HgVCawOti6bqpM_s4MteyIKAJkYbmR1xtC-606dQ7bN782jzmcVkKxYi9/s1600/TNB50_Step6.png" /></a></div><br />
<div style="text-align: center;">TNB Java Tut 50 Source Code:<br />
<br />
</div><pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> import javax.swing.JOptionPane;
class apples {
public static void main(String[] args){
String fn = JOptionPane.showInputDialog("Enter first number");
String sn = JOptionPane.showInputDialog("Enter second number");
int num1 = Integer.parseInt(fn);
int num2 = Integer.parseInt(sn);
int sum = num1 + num2;
JOptionPane.showMessageDialog(null, "The answer is " + sum, "the title", JOptionPane.PLAIN_MESSAGE);
}
}
</code></pre><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
<span style="font-size: large;"><b>End of Tutorial </b></span></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com3tag:blogger.com,1999:blog-8811813928018222288.post-17673297468082942302011-10-26T23:34:00.000-07:002011-10-27T09:55:22.704-07:00I Need YOUR Help!!! ( Java Quiz's)<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlQTVUzj3IDPXqYw0d063uGjvqHqPn17zjkIY7aI2vz_VbTYpmYVv9CWUCaA11QyC9AOv3rmuus5UjBKUoi0UzLL8JXQJ3NNeVSs7po5JqUd_SSrBeWSLbKJBWvt6jc01C080O0fmVemU/s1600/popquiz570x225.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="157" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlQTVUzj3IDPXqYw0d063uGjvqHqPn17zjkIY7aI2vz_VbTYpmYVv9CWUCaA11QyC9AOv3rmuus5UjBKUoi0UzLL8JXQJ3NNeVSs7po5JqUd_SSrBeWSLbKJBWvt6jc01C080O0fmVemU/s400/popquiz570x225.jpg" width="400" /></a></div><br />
<br />
Tonight I had another idea for another resource to make the series more "compete". Quiz's , yes I mean Quiz's just like you would get in a actual college course and I need the community's help!! If you are currently going through the TNB Java tutorials (1-100) after you watch a video try to come up with a quiz question, make it tough, make it tricky , but make sure its a useful question thats important to know. Im gonna try to start compiling quiz questions and making quizs for every 10 tutorials in the series. <br />
<br />
<br />
If you submit a question please also tell me which tutorial the answer is in or at least a range of 2 or 3 tutorials of where the answer is around.Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com4tag:blogger.com,1999:blog-8811813928018222288.post-67947906154393974632011-10-26T14:42:00.000-07:002011-10-26T23:24:59.489-07:00WALKTHROUGH:TNB Java Tut 49 -"Inheritance" [VIDEO] [SOURCE CODE]This is a full walk-through of Java Tutorial 49-"Inheritance" by TheNewBoston.This walk-through includes:<br />
<ul><li>Embedded Video Tutorial</li>
<li>Alternative explanation & source code</li>
<li>Visual Breakdown of the code </li>
</ul><div style="text-align: center;"><span style="font-size: x-small;">In this walk-through you will learn about using the "toString" method, a very useful method used to give any object a default string representation.</span></div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72-E1OE4GDYAvb77mekjj4GQtFrR2xmWLBthWSeiYcjiznlqYQXLWEyTNcjFlaLVwgvWdtwgCMtZMrxLaUgd9WVS5ujZhgdmPWKdtt1wotRNnJONnsOncRxEGkkwsfA9biiE-ETZN7slV/s1600/TNB_49_inheritance_VB.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><br />
</a></div><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='420' height='266' src='https://www.youtube.com/embed/9JpNY-XAseg?feature=player_embedded' frameborder='0'></iframe></div><br />
<b><br />
</b><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTXVb_uu8Ymmci5PVo8j2mMaWlF7oSO55wqxvb-Vi-ps6WMIgzM8j_skmKKoUa1li1SWbSgC8zETdkgxPmrqo4r2tF5-WCq4ZH0gYpOpHTpr0aB3T94lt4cRBzhOWNzFdA7ZF1o1_iDM_X/s1600/superStarKanyeWest.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTXVb_uu8Ymmci5PVo8j2mMaWlF7oSO55wqxvb-Vi-ps6WMIgzM8j_skmKKoUa1li1SWbSgC8zETdkgxPmrqo4r2tF5-WCq4ZH0gYpOpHTpr0aB3T94lt4cRBzhOWNzFdA7ZF1o1_iDM_X/s200/superStarKanyeWest.png" width="183" /></a></div><b>Super Classes:</b>Super classes are alot like super stars(celebrity's)that influence us.You might never be Kanye west, but from listening/watching to him you can inherit some of his talents and beliefs(methods). Think of "super classes" as "super stars" that you're regular classes look up to. <br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public class superStarKanyeWest{
public void rap(){
System.out.println("yo yo yo");
}
public void makeBeats(){
System.out.println("BOOM BOOM shimmy BOOM BOOM");
}
public void personalPhilosophy(){
System.out.println("Shoot for the stars so if you fall you land on a cloud.");
}
public void politicalBeliefs(){
System.out.println("George Bush does not care about black people.");
}
}
</code></pre><div style="text-align: center;"><i>(Example of a "Super Class")</i><br />
<br />
<br />
</div><div style="text-align: center;"><i></i></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWx-JAT80nv0MSa-XfFPrwJEz10vCZYFrVvY-tApWRa7goHMNlmj0A6d2lPoe5l68liPyGuFD77baSxtlE5uSuu9gMjVyjf8CzAm2u4bPCmDob-vyniAOxq_3WP-U_yS6dTb-nt-J5kgYC/s1600/joeNobody.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWx-JAT80nv0MSa-XfFPrwJEz10vCZYFrVvY-tApWRa7goHMNlmj0A6d2lPoe5l68liPyGuFD77baSxtlE5uSuu9gMjVyjf8CzAm2u4bPCmDob-vyniAOxq_3WP-U_yS6dTb-nt-J5kgYC/s200/joeNobody.png" width="200" /></a><span style="font-size: small;"><i><br />
</i></span><br />
<div style="text-align: left;"><span style="font-size: small;"><i> </i>Joe Nobody is just a normal teenager, he himself has no super powers, but hes a fan of Kanye's and</span><span style="font-size: small;"> aspires to one day become a world famous rapper.Because Kanye inspires Joe we could say Joe is a extension of what Kanye represents because we are all extensions of the people who inspire us. </span></div><div style="text-align: left;"></div><div style="color: red; text-align: left;"><span style="font-size: small;"><b>OVERIDE:</b>In the java world because Joe looks up to (extends) Kanye by default he inherits all of Kanyes public methods, but Joe can also overwrite individual methods he disagrees with Kanye about, such as political beliefs.</span></div><div style="text-align: left;"><span style="font-size: small;"> </span></div><div style="color: #3d85c6; text-align: left;"><span style="font-size: small;">Even thought Joe inherited alot of his talents and qualitys(methods) from studying Kanye, Joe is still unique and can have talents(methods) of his own Kanye doesn't such as knowing how to play the guitar.</span></div><pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public class joeNobody extends superStarKanyeWest{
int age=18;
public void playGuitar(){
System.out.println("I can play guitar");
}
public void politicalBeliefs(){
System.out.println("All politicians are evil crooks and talking politics just gets people pissed off so I just stay out of that stuff.");
}
}
</code></pre><div style="text-align: center;"><i>(joeNobody Class)</i></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"><br />
<div style="text-align: left;"><br />
</div><div style="text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjajFzFR3u7zTwBzG_FEuvIsaW_dyKJHplKr0sdPmT7nMoaeSTXMz6xmN_j_r7C4vzZaz7zYgrBVhkiN9OlLyBMFhCufDUWSW3gtOrirI1q9k_HQqOG-QGtP1kEGr9XVEL00dLNS_9sIqiu/s1600/bobbyNobody.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjajFzFR3u7zTwBzG_FEuvIsaW_dyKJHplKr0sdPmT7nMoaeSTXMz6xmN_j_r7C4vzZaz7zYgrBVhkiN9OlLyBMFhCufDUWSW3gtOrirI1q9k_HQqOG-QGtP1kEGr9XVEL00dLNS_9sIqiu/s200/bobbyNobody.png" width="178" /></a><span style="font-size: small;">Bobby is Joes little brother, bobby looks up to Joe.Bobby doesn't even know who Kanye is yet,but Because some of Joes quality's are inherited from Kanye,Bobby inherits the the quality's Joe picked up from Kanye as well as all of Joes unique quality's. </span></div><div style="color: #f1c232; text-align: left;"><span style="font-size: small;"><span style="color: #bf9000;">Because Joe overode Kanyes political beliefs Bobby will share Joes politicalBeliefs.</span></span></div><div style="color: #f1c232; text-align: left;"><span style="font-size: small;"><span style="color: lime;">playBasketball() is a method unique to bobby </span></span></div><pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public class bobbyNobody extends joeNobody{
int age=15;
public void playBasketballGood(){
System.out.println("I can shoot 10 for 10 from the free throw line.");
}
}
</code></pre><i>(bobbyNobody Class)</i><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72-E1OE4GDYAvb77mekjj4GQtFrR2xmWLBthWSeiYcjiznlqYQXLWEyTNcjFlaLVwgvWdtwgCMtZMrxLaUgd9WVS5ujZhgdmPWKdtt1wotRNnJONnsOncRxEGkkwsfA9biiE-ETZN7slV/s1600/TNB_49_inheritance_VB.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72-E1OE4GDYAvb77mekjj4GQtFrR2xmWLBthWSeiYcjiznlqYQXLWEyTNcjFlaLVwgvWdtwgCMtZMrxLaUgd9WVS5ujZhgdmPWKdtt1wotRNnJONnsOncRxEGkkwsfA9biiE-ETZN7slV/s400/TNB_49_inheritance_VB.png" width="331" /></a></div><br />
<span style="font-size: large;"><b>End of Tutorial </b></span></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com3tag:blogger.com,1999:blog-8811813928018222288.post-57736853305362922872011-10-24T19:42:00.000-07:002011-10-24T20:22:57.778-07:00WALKTHROUGH:TNB Java Tut 42 -"toString" [VIDEO] [SOURCE CODE]This is a full walk-through of Java Tutorial 42 by TheNewBoston. Each walk-through includes:<br />
<ul><li>Embedded Video Tutorial</li>
<li>Text Transcript of the tutorial broken down into steps.</li>
<li>Source code</li>
<li>Visual Breakdown of the code </li>
</ul><div style="text-align: center;"><span style="font-size: x-small;">In this walk-through you will learn about using the "toString" method, a very useful method used to give any object a default string representation.</span></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div style="text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='420' height='266' src='https://www.youtube.com/embed/l0N6WvIVoUI?feature=player_embedded' frameborder='0'></iframe></div><br />
<b>Step 1.</b>Create a class and name it "stringDinger" <br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public class stringDinger {
}
</code></pre><i><span style="font-size: x-small;">inside of the "stringDinger" class:</span></i><br />
<br />
<b>Step 2.</b>Create 3 int vars(month, day, year)<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> private int month;
private int day;
private int year;
</code></pre><br />
<b>Step 3.</b>Create a constructor for the "stringDinger" class that accepts 3 parameters.<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public stringDinger(int m,int d,int y){
</code></pre><span style="font-size: x-small;"><i>inside of the stringDinger constructor:</i></span><br />
<br />
<b>Step 4.</b>Set each of the incoming parameters to their corresponding variables:<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> month=m;
day=d;
year=y;
</code></pre><br />
<b>Step 5.</b>create a print function statement that prints the sentence "the constructor for this is %s\n , this"(note: "using "this" in this case will equal whatever you're "toString" method returns )<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> System.out.printf("the constructor for this is %s\n",this);
</code></pre><span style="font-size: x-small;"><i>end of stringDinger constructor.</i></span><br />
<br />
<b>Step 6.</b>Create a "toString" method that returns the variables formated like this : "month/day/year":<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public String toString(){
return String.format("%d/%d/%d",month,day,year);
}
</code></pre><span style="font-size: x-small;"><i>end of "stringDinger" class</i></span><br />
<br />
<b>Step 7.</b>Create a new class with a main method, name the class "useTheDinger" <br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> class useTheDinger{
public static void main(String[] args){
}
}
</code></pre><span style="font-size: x-small;"><i>inside the main method of the "useTheDinger" class:</i></span><br />
<br />
<b>Step 8.</b>Create a stringDinger object with the parameters 4,5,2011<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> stringDinger theDingerSpeaks = new stringDinger(4,5,6);
</code></pre><br />
<div style="text-align: center;"><span style="font-size: large;"><b>End of Tutorial </b></span></div><div style="color: lime; text-align: center;"><b> TNB Java Tut 46 Complete Source Code </b><br />
<b><br />
</b><br />
<b><span style="color: black;">"stringDinger" Class </span></b><b><br />
</b></div><div style="text-align: center;"><br />
</div><pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> public class stringDinger {
private int month;
private int day;
private int year;
public stringDinger(int m,int d,int y){
month=m;
day=d;
year=y;
System.out.printf("the constructor for this is %s\n",this);
}
public String toString(){
return String.format("%d/%d/%d",month,day,year);
}
}
</code></pre><div style="text-align: center;"><b><br />
</b></div><div style="text-align: center;"><b>"useTheDinger" Class</b></div><br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> class useTheDinger{
public static void main(String[] args){
stringDinger theDingerSpeaks = new stringDinger(4,5,6);
System.out.println(theDingerSpeaks.toString());
}
}
</code></pre><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic-pjgEkiBN7n2-Ym21RQuCUvarxJEAgegNh58uIESlqx6Ibbb6nLBourDlZ5oosM_eNyfUb84nS9e8QsmWsk5tsnlJjPzYouAn0T78OGce8_7g1xsnHJ6hcnQP1uc70H01Q9W9lhCWtI4/s1600/TNB_42_toString_VB.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="373" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic-pjgEkiBN7n2-Ym21RQuCUvarxJEAgegNh58uIESlqx6Ibbb6nLBourDlZ5oosM_eNyfUb84nS9e8QsmWsk5tsnlJjPzYouAn0T78OGce8_7g1xsnHJ6hcnQP1uc70H01Q9W9lhCWtI4/s400/TNB_42_toString_VB.png" width="400" /></a></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com3tag:blogger.com,1999:blog-8811813928018222288.post-3929220852247086432011-10-18T23:24:00.000-07:002011-10-22T17:46:05.566-07:00CHALLENGE:Java Tut 36-37-Display Reg Time<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial - 36-37 Displaying Regular Time by theNewBoston</span></span></b><br />
<b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span></b><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">To get the most out of these challenges try them a few hours or the day after watching/following along with the actual video.</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;">★</span></span><br />
<span class="st"><span style="color: cyan;"> </span> </span></div>1.Create a class and name it "Time".Unlike classes we've created in the past you dont need to declare a main method. <br />
<br />
2.Create 3 int vars. name them hour, minute, second. <br />
<br />
3.Create a method,name it setTime, it should accept 3 parameters(int h, int m , int s)<br />
<div style="text-align: center;"><span style="font-size: xx-small;">Inside the setTime method:</span></div><ul><li><span style="font-size: x-small;">if h is greater than 0 and less than 24 then set h to hour, else set the hour to 0 by default.This should be accomplished in one line of code( Hint:use the "ternary operator" instead of a if statement)</span></li>
</ul><ul><li><span style="font-size: x-small;">if m is greater than 0 and less than 60 then set m to minute, else set the minute to 0 by default.(Hint: "ternary operator")</span></li>
</ul><ul><li><span style="font-size: x-small;">if s is greater than 0 and less than 60 then set s to second, else set the second to 0 by default.(Hint: "ternary operator")</span></li>
</ul><div style="text-align: center;"><span style="font-size: xx-small;">End "setTime" method </span></div><div style="text-align: left;"><br />
<span style="font-size: x-small;">4.Create another method.Name it toMilitary.</span><br />
<div style="text-align: center;"><span style="font-size: xx-small;">Inside the to Military method:</span></div></div><div style="text-align: left;"><ul><li><span style="font-size: x-small;">Create a return statement that will format the "hour" , "minute" and "second" vars to display in military format.</span><span style="font-size: x-small;"><br />
</span><div style="text-align: center;"><span style="font-size: x-small;"><b>Example of console output:</b>18:30:00 </span><span style="font-size: xx-small;"><br />
End "toMilitary" method</span></div></li>
</ul><span style="font-size: x-small;">5.Create a method,name it toRegTime</span><br />
<div style="text-align: center;"><span style="font-size: xx-small;">Inside the "toRegTime" method:</span></div><div style="text-align: left;"><ul><li><span style="font-size: x-small;">Create a return statement that will format the "hour" , "minute" and "second" vars to display in standard time format. (hint:Ull need to use the Modulus (%) operator</span><span style="font-size: x-small;"><b><br />
</b></span><div style="text-align: center;"><span style="font-size: x-small;"><b>Example of console output:</b>6:30:00 PM</span></div></li>
</ul></div><div style="text-align: center;"><span style="font-size: xx-small;">End "toRegTime" method</span></div><br />
<div style="text-align: center;"><b><i><span style="font-size: x-small;">End of "Time" class</span></i></b></div><br />
<span style="font-size: x-small;">6.Create another class and name it testTime .Create a main method. </span><span style="font-size: x-small;"><br />
</span><br />
<div style="text-align: center;"><span style="font-size: xx-small;">Inside the main method of testTime class:</span></div></div><div style="text-align: left;"><ul><li><span style="font-size: x-small;">Declare a new Time object and name it tickTock.</span></li>
</ul><ul><li><span style="font-size: x-small;">Print tickTock.toMilitary</span></li>
</ul><ul><li><span style="font-size: x-small;">Print </span><span style="font-size: x-small;">tickTock.toRegTime</span></li>
</ul><ul><li><span style="font-size: x-small;">Call the setTime method with the parameters (13,27,6)</span></li>
</ul><ul><li><span style="font-size: x-small;">Print tickTock.toMilitary</span></li>
</ul><ul><li><span style="font-size: x-small;">Print </span><span style="font-size: x-small;">tickTock.toRegTime</span></li>
</ul></div><div style="text-align: center;"><span style="font-size: x-small;"><i><b>End of "testTime" class </b></i></span></div><div style="text-align: center;"><b>COMPILE & PRAY TO DUKE!!! </b></div><div style="text-align: center;"><a href="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" /></a></div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/qkxfja%20">http://bit.ly/qkxfja </a> </b></span></div><div style="text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com7tag:blogger.com,1999:blog-8811813928018222288.post-23584397789180093332011-10-18T15:22:00.000-07:002011-10-18T15:22:41.941-07:00The Secret to Success- [Motivation][Entrepreneurship]<div style="text-align: center;">Just a little something to keep my fellow aspiring entrepreneur/developers motivated. Enjoy.</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/gm-FEZDipFg?feature=player_embedded' frameborder='0'></iframe><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com7tag:blogger.com,1999:blog-8811813928018222288.post-10584470622484526232011-10-12T08:50:00.000-07:002011-10-12T08:51:27.534-07:00CHALLENGE:Java Tut 35-Var Length Arguments<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial - 35 Variable Length Arguments by theNewBoston</span></span></b><br />
<b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span></b><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">To get the most out of these challenges try them a few hours or the day after watching/following along with the actual video.</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;">1/3</span></span></div>Create a console program with a method that finds the average of a unknown amount of numbers(aka accepts a variable length argument in its parameters)Then test it in you're main method.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span></span><br />
<span class="st"><span style="color: cyan;"> </span> </span></div>1.Create a method that will return a int and name it "average".It should accept a variable length argument, name the variable length argument "numbers"<br />
<br />
<u><i>Inside the "average" method:</i></u><br />
<br />
2.Declare a int variable, name it total and set it to 0.<br />
<br />
3.Create a enhanced for loop that loops through the "numbers" parameter being passed in.<br />
<br />
<i><u>Inside the enhanced for loop:</u></i><br />
4.set total+=x;<br />
<br />
5.return total divided by the amount of numbers you passed in(hint: numbers.length)<br />
<u><br />
<i>Back in the main method: </i></u><br />
<br />
6.Create a print line statement that calls the "average" method and place 8 values in its parameters.<br />
<br />
<br />
<div style="text-align: center;"><b>COMPILE & PRAY TO DUKE!!! </b></div><div style="text-align: center;"><a href="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" /></a></div><div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/qkxfja%20">http://bit.ly/qkxfja </a> </b></span></div><div style="text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-35675105355051529262011-10-11T20:18:00.000-07:002011-10-19T13:43:59.384-07:00CHALLENGE:Java Tut 32-34-Arrays in Methods & Multidimensional Arrays<div style="text-align: center;"><span style="font-size: small;"><b>The following is a challenge for new developers that have completed:<span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></b></span></div><div style="text-align: center;"><span style="font-size: small;"><b><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial's 32-34 by theNewBoston</span></b><b><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">. To get the most out of these challenges try them a few hours or the day after watching/following along with the actual video.</span></b></span></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;">★</span></span><span style="color: cyan;">1/2</span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a java console program with a method that accepts a multidimensional array in its parameters.When the method is called it should print the array out to the console as a table.If you've done everything right you're results should look like this:</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;">This is the the Multi Array</div><div style="text-align: center;">8 9 5 12<br />
55 12 32 22<br />
15 4 39 83</div><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★2/3</span> </span></div><span style="font-size: large;"><b>1</b></span>.Create a multidimensional array. It should have at least 3 arrays inside of it and each array should have several values. <br />
<br />
<span style="color: cyan;"><span style="font-size: large;"><b>2</b></span>.Create a method that accepts a multidimensional array in its parameters, name the array in the parameters "x" and name the method "display"</span><span style="color: cyan; font-size: x-large;"><b>[</b></span><br />
<br />
<span style="color: orange;"><span style="font-size: large;"><b>3</b></span>.Inside the display method create a for loop, name you're counter "row; loop through until x.length is less than "row" ; increment by 1<br />
</span><br />
<div style="color: orange;">Inside of the "row" for loop insert: <b><span style="font-size: large;">[</span></b></div><br />
<li style="color: orange;"><span style="font-size: small;">Another for loop. name you're counter "column"; loop through until x.length is less than "x[row].length;increment by 1. <span style="color: red;">Inside the "column" for loop insert:</span></span></li><br />
<br />
<span style="font-size: x-small;"><span style="color: red;"> 1.A print line statement that prints x<span style="color: orange;">[row]</span>[column] + "\t"</span></span><span style="font-size: large;"><b style="color: red;">]</b></span><br />
<br />
<li><span style="color: orange; font-size: small;"> </span><span style="font-size: small;"><span style="color: orange;">Print line statement that prints: a blank line</span><span style="font-size: large;"><b><span style="color: orange;">]</span> <span style="color: cyan; font-size: x-large;">]</span></b></span></span></li><br />
<br />
<ul style="color: orange;"></ul><span style="font-size: large;">4.</span>In the main method write a print line statement that reads "This is the array table"<br />
<br />
<span style="font-size: large;">5</span>.In the main method call the display method and place you're array in the parameters<br />
<span style="font-size: x-small;"><br />
<b>Note:</b> <i>I am trying to experiment to find the best way to explain loops in words. Everything that is Orange is inside of the "Row" for loop and everything that is red is inside the "column" for loop. If this made it easier for you to understand or you have some suggestions to improve these challenges leave it in a comment below!!</i></span><br />
<br />
<div style="text-align: center;"><b>COMPILE & PRAY TO DUKE!!! </b></div><div style="text-align: center;"><a href="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" /></a></div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/r9jFZN%20">http://bit.ly/r9jFZN </a> </b></span></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-21802111026748131232011-10-10T23:07:00.000-07:002011-10-11T16:50:48.501-07:00WALKTHROUGH:TNB Java Tut 26-Random Number Generator[VIDEO & SOURCE CODE]]This is a full walkthrough of Java Tutorial 26 by TheNewBoston. Each walkthrough includes:<br />
<ul><li>Embedded Video Tutorial</li>
<li>Text Transcript of the tutorial broken down into steps.</li>
<li>Source code</li>
</ul><div style="text-align: center;"><span style="font-size: x-small;">If you found this walkthrough helpful and want to see more of them please leave a comment and let me know.Im trying alot of new things and still trying to get a feel for what people want more of.You're feedback counts around here!!!</span></div><div style="text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='540' height='340' src='https://www.youtube.com/embed/AhwIYAXPASw?feature=player_embedded' frameborder='0'></iframe></div><br />
<br />
<b>Step 1</b>.Import the Random package<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> import java.util.Random;
</code></pre><br />
<span style="font-size: small;"><b>Step 2.</b> Declare a new Random variable and name it "dice"</span><br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> Random dice=new Random();
</code></pre><br />
<span style="font-size: small;"><b>Step 3.</b> Declare a int variable and name it "number"</span><br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> int number;
</code></pre><span style="font-size: small;"><br />
<b>Step 4.</b> Create a "for" loop that will loop through 10 times before stopping.<br />
</span><br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> for(int counter =0;counter<10;counter++){
}
</code></pre><br />
<b>Step 5.</b> Inside the for loop:<br />
<ul><li> Set the number var to equal a random number between 1-6</li>
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> number=1+dice.nextInt(6);
</code></pre><li> Print the random number variable + a space (" ") <span style="font-size: small;"><br />
</span></li>
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> System.out.println(number +" ");
</code></pre></ul><div style="text-align: center;"><span style="font-size: large;"><b>End of Tutorial </b></span></div><div style="text-align: center;"><br />
</div><div style="color: lime; text-align: center;"><b> TNB Java Tut 26 Complete Source Code </b></div><div style="text-align: center;"><br />
</div><pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxjJU3rSdEw-AC115Maii-QCV51n66p2c5F6cfnUM6tejWkwN9Bj_O1SjqjpOo-0hjs0q7bdKSR0jGJL4GpboFNyEV1mTebpSnYJSfRxwAKDsgJjs8s3gvVD2zg97KfaaWs78WAMDWGFCH/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> import java.util.Random;
class TNBjtut26{
public static void main(String[] args){
Random dice=new Random();
int number;
for(int counter =0;counter<10;counter++){
number=1+dice.nextInt(6);
System.out.println(number +" ");
}
}
}
</code></pre>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com1tag:blogger.com,1999:blog-8811813928018222288.post-6374291883389686152011-10-10T21:18:00.000-07:002011-10-10T22:00:29.920-07:00Android API Demo - The Best Developer Resource No One Told You About<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh3KV8F-s1-zyEOkO8tPaoqqKt3gwKjc51SOc0_L65pOzYTBkqKlf6HTSb1gLEE5u_VcVXgi3GdD0JVsQA2XUJoaSoyuishFN2Cz_B7Rg0r4fjdmXq0mAvXtIvHkdHSLr7NrZzm_9OEbUA/s1600/apidemos.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh3KV8F-s1-zyEOkO8tPaoqqKt3gwKjc51SOc0_L65pOzYTBkqKlf6HTSb1gLEE5u_VcVXgi3GdD0JVsQA2XUJoaSoyuishFN2Cz_B7Rg0r4fjdmXq0mAvXtIvHkdHSLr7NrZzm_9OEbUA/s320/apidemos.png" width="320" /></a> <span style="font-size: large;">H</span>ave you ever just wanted a working example of every single little component in Android you can dissect? Yeah, me too. Turns out it exists....and no one told you about it.Shame on every developer/tutorial writer that dint mention these repeatedly to me while I was learning.<br />
As long as your SDK is all up to date just boot up your emulator , check your app drawer and look for a app called "API Demo" from there you have a working demo of almost every android component you could ever ask for.<br />
<br />
<div style="text-align: center;"><b>Want to play with the code? YOU CAN!!!</b></div>Best part is you not only can play with live demos of all this stuff you can actually dissect it too!! Just check out this link and click around till you reach the demo source your looking for.<br />
<br />
<div style="text-align: center;"><span style="font-size: large;">Android API Demo's:</span><b><span style="font-size: large;"><a href="http://bit.ly/pw8TGA%20">http://bit.ly/pw8TGA </a> </span></b></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><b><span style="font-size: large;"><span style="font-size: x-small;">If you found this post helpful and you want me to keep working like a asian kid in math class to bring you the best Android resources consistently click clack that comment button below and leave me ur opinion or follow the blog!!! It lets me know<br />
you care :) </span></span></b></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com4tag:blogger.com,1999:blog-8811813928018222288.post-79660337520120006162011-10-10T20:18:00.000-07:002011-10-10T20:18:40.688-07:00CHALLENGE:Java Tut 31-Enhanced For Loop<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial - 31 Enhanced for loop by theNewBoston</span></span></b><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">To get the most out of these challenges try them a few hours or the day after watching/following along with the actual video.</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;">1/3</span></span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a enhanced for loop that sums the contents of a array.</div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div>1.Create a int array with 8 values.<br />
2.Create a int var , name it total and set it to 0<br />
3.Create a enhanced for loop , set it to you're array. Each time it loops it should:<br />
*Add a value from the array to the total var<br />
4.Print the total var to the console<br />
<br />
<div style="text-align: center;"><b>COMPILE & PRAY TO DUKE!!! </b></div><div style="text-align: center;"><a href="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" /></a></div><div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/n8Z8eM%20">http://bit.ly/n8Z8eM </a><a href="http://bit.ly/nFzFhL"></a> </b></span></div><div style="text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com1tag:blogger.com,1999:blog-8811813928018222288.post-57082495594769789052011-10-10T19:54:00.000-07:002011-10-10T19:54:09.653-07:00CHALLENGE:Java Tut 30-Array Elements As Counters<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial - 30 Array Elements As Counters by theNewBoston</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;"> 1/2</span></span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a java console program using arrays and for loops that simulates a 6 sided die being tossed 1000 times. Then print the amount of times it fell on each side of the die to the console. Your console output should look something like this: </div><div class="separator" style="clear: both; text-align: center;">Face Frequency </div><div class="separator" style="clear: both; text-align: center;">1 182 </div><div class="separator" style="clear: both; text-align: center;">2 220 </div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;">3 134 </div><div class="separator" style="clear: both; text-align: center;">4 278 </div><div class="separator" style="clear: both; text-align: center;">5 169 </div><div class="separator" style="clear: both; text-align: center;">6 188 </div><div class="separator" style="clear: both; text-align: center;"><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★1/2</span> </span></div>1.Create a Random variable and name it rand<br />
2.Create a int array that holds 7 int's, name it freq. <br />
3.Create a for loop that loops 1000 times.Each time it loops it should:<br />
<blockquote> *++freq[1+rand.nextInt(6)];</blockquote>4.Below the for loop print a header that reads "Face Frequency"<br />
5.Create another for loop:<br />
Start you're "counter" at 1, the loop should continue as long as face is less than the length of the freq array , increment by 1 , each time it loops it should :<br />
*Print the index , a few spaces and the value of the index position.(See the example in the B.A.M.F example if you're confused.<br />
<br />
<div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/nFzFhL">http://bit.ly/nFzFhL </a> </b></span></div><div style="text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com1tag:blogger.com,1999:blog-8811813928018222288.post-45765193554873304262011-10-10T19:43:00.000-07:002011-10-12T10:17:53.688-07:00CHALLENGE:Java Tut 29-Summing Elements of Arrays by theNewBoston<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> Java Tutorial - 29 Summing Elements of Arrays by theNewBoston</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★</span></span><span class="st"><span style="color: cyan;"> 1/2</span></span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a java console program that stores 8 numbers between 1-100 in a array and then find the sum of all the numbers combined using a for loop. </div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div>1.Create a int array that stores 8 int's and name it values<br />
2.Create a int var and name it sum<br />
3.Create a for loop , set the counter to 0 to start, continue looping as long as the counter is less than the length of you're int array, increment the counter by 1 each time it loops.Each time it loops it should:<br />
* sum+= values[counter] (sorry guys , couldn't think of a way to explain that part in words)<br />
<br />
4.Print the sum.<br />
<br />
<div style="text-align: center;"><b>COMPILE & PRAY TO DUKE The Java God!!!! </b></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.cs.indiana.edu/classes/a202-dger/spr2006/dukeWave.gif" /></a></div><br />
<div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/o7iT9P%20">http://bit.ly/o7iT9P </a><a href="http://bit.ly/o1J1V6%20"></a> </b></span></div><div style="text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-57994150400425347172011-10-10T19:33:00.000-07:002011-10-10T19:33:06.787-07:00CHALLENGE:Java Tut's 27&28-Intro to Arrays<div style="text-align: center;"><b>The following is a challenge and or walk-through for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Java Tutorial - 27&28 -Introduction to Arrays by theNewBoston</span></span></b><br />
<b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">To get the most out of these challenges try them a few hours or the day after watching/following along with the actual video.</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★ 1/2</span></span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a int array and loop through each entry in a 2 column list .You're results should look like this:</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;">Index Value</div><div class="separator" style="clear: both; text-align: center;">0 18</div><div class="separator" style="clear: both; text-align: center;">1 24</div><div class="separator" style="clear: both; text-align: center;">2 8</div><div class="separator" style="clear: both; text-align: center;">ect....</div>_________________________________________________________________________________<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br />
</span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div>1.Create a int array with 5 values of you're choosing.<br />
2.Create a print line statement with the words Index , a few spaces and Values ( like the example in the BAMF challenge above.<br />
3.Create a for loop that will continue to loop until you're counter is greater than the length of the array you created , increment by one. Each time it loops:<br />
* Print the Index & Value (hint: use the counter from you're for loop)<br />
<div style="text-align: center;"><br />
</div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/omhcMV%20">http://bit.ly/omhcMV </a></b></span><br />
<br />
<br />
<br />
<span style="font-size: large;"><b><span style="font-size: x-small;">If this tutorial was helpful for you or you have suggestions as to how I can improve this series please leave a comment below, You're voice will be heard and I will make what ever improvements I can.</span> </b></span></div><div style="text-align: center;"><br />
</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-76812585856393950292011-10-07T16:31:00.000-07:002011-10-07T16:31:03.362-07:00CHALLENGE:Java Tut 26-Random Number Generator<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Intermediate Java Tutorial - 26 -Random Number Generator by theNewBoston</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>B.A.M.F Challenge:</b></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: x-small;">B.A.M.F Challenges & why you want to always at leas try them explained Here:<span id="goog_602467191"></span><a href="http://www.blogger.com/">http://bit.ly/ogivqe </a></span><b><span id="goog_602467192"></span></b></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"> </span><span class="st"><span style="color: cyan;">★ 1/2</span></span></div><div class="separator" style="clear: both; text-align: center;"><span class="st"><span style="color: cyan;"> </span></span>Create a java console program that simulates rolling a standard 6 sided die(the single form of dice) 10 times and print out the results in the console with a space. The results should look something like this: </div><div class="separator" style="clear: both; text-align: center;">3 7 2 2 1 ect... up to 10 </div><br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br />
</span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div>1. Declare a new Random variable and name it "dice"<br />
2. Declare a int variable and name it "number"<br />
3. Create a "for" loop that will loop through 10 times before stopping.<br />
<span style="font-size: small;"> (hint: <i>initialization</i>; <i>termination</i>; <i>increment</i></span><br />
4. Inside the for loop set the number var to equal a random number between 1-6(hint:<span style="font-size: large;"> "dice."</span><span style="font-size: x-small;">)</span><br />
<span style="font-size: small;">5.Print the random number variable + a space (" ")</span><br />
<span style="font-size: x-small;">( If you dont add the space when you run it all youre numbers will be in one jumbled line.) </span><br />
<div style="text-align: center;"><br />
</div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://bit.ly/pLAzeg">http://bit.ly/pLAzeg</a> </b></span></div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: magenta;"><span style="color: cyan;"></span></span></b></span></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-23394853757808998112011-10-07T16:25:00.000-07:002011-10-07T16:25:44.967-07:00Introducing B.A.M.F Challenges<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOP6sTH0rdiJRrCzQvoKqXvLKdIqfjGoSnnR_AK611tkb6jzgDK0EQzymKFzfvYfrqdG8KvYVUJ7LxP8z7KXY8Loi8kraer0Z5zFMxVB7aCUWCjXvh8WOWZyAaMEf-nMIT23R3KRytZuwS/s1600/l.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOP6sTH0rdiJRrCzQvoKqXvLKdIqfjGoSnnR_AK611tkb6jzgDK0EQzymKFzfvYfrqdG8KvYVUJ7LxP8z7KXY8Loi8kraer0Z5zFMxVB7aCUWCjXvh8WOWZyAaMEf-nMIT23R3KRytZuwS/s1600/l.jpg" /></a></div><div style="text-align: center;"><span style="font-size: x-small;"><i> (B.A.M.F's Make Money Like George Jung From Blow and you will to once you master the art of I2J Translation)</i></span></div><div style="text-align: center;"><br />
</div>B.A.M.F Challenges are for those of you feeling a little cocky, Instead of giving you step by step directions I will only give you a abstract goal of the challenge and its up to you to figure out how to make it happen.Even if you cant always complete the B.A.M.F challenge, you should always at least try and then move down to the reg challenge if youre struggling.B.A.M.F Challenges help youre brain become what I call a Java "translator" , as in you can listen to a client explain something they want done in simple English and convert it in you're mind to rough Java.Almost every new programmer gets to a point where they can read source code and understand what its doing, but struggle with creating a program from a idea alone without help or alot of research.The end results should still be the same as the regular challenge.Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-43870720780860075852011-10-07T14:54:00.000-07:002011-10-07T14:54:02.270-07:00IM BACK!!!<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://gamerfitnation.com/wp-content/uploads/2011/10/adhd-child-hyperfocus.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="http://gamerfitnation.com/wp-content/uploads/2011/10/adhd-child-hyperfocus.jpg" width="320" /></a></div><br />
<div style="text-align: center;">(The best image I could find to represent ADHD)</div><div style="text-align: center;"><br />
</div>I started this blog and being the ADHD developer I am I got distracted and kinda abandoned it for a while but, I checked my blog views for the first time today and realized that this blog is still getting daily views, comments and followers a month after I abandoned it. That tells me that there is a serious demand for a blog like this so ive decided to get back at it!!! If you stumble across this blog and you want me to keep going leave me a comment, follow it , link to it...anything to show me that im not doing all this work for nothing.<br />
<br />
<br />
New Java challenges coming soon!!!Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-80154561748739873862011-07-19T07:09:00.000-07:002011-07-19T07:11:50.867-07:00Lynda.Com Finally Has Android Tutorials!!!!<div class="separator" style="clear: both; text-align: center;"><a href="http://www.lynda.com/"><img border="0" height="146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0FN-_2G_J9T84uOfGjpMuHi42JgFjbZO3-A68JW_4QPPH4SRwSA1QMJfAIooHLuD4kMw_3LhZ_txD_hDpyJKijp6oUcLjIUY7CtekrNB2W5KZfTEy0YqSYaFtxpZCjmNGagxbQ9hP8cj/s400/lynda_logo3Y-P_2x.png" width="400" /></a> </div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;">Ive been waiting for some time for lynda.com to pop out some Android tutorials and there finally here!!!Im watching them as I type this and will be writing a review in the next week to let you guys know if there any good put out the $$$$ for a subscription. If you haven't heard of <a href="http://www.lynda.com/">lynda.com </a>than your more of a newb than you've probably been living under a rock for the last decade or so. Lynda.com is a payed tutorial site, for $25 a month they will give you access to a MASSIVE database of tutorial formatted into short videos for all of us ADHD people. For a extra 5 bucks or something like that they'll even give you all the exercise files.</div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com5tag:blogger.com,1999:blog-8811813928018222288.post-55335762394154999922011-07-18T16:37:00.000-07:002011-07-18T17:22:47.098-07:00CHALLENGE: Intermediate Java Tut's 4&5<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Intermediate Java Tutorial - 4&5 -Collections & arrayLists by theNewBoston</span></span></b></div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b><span class="st"></span></div><div style="text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /> </a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><b>Legendary Challenge: </b></div><div class="separator" style="clear: both; text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span><span class="st"><span style="color: cyan;">★ 1/2</span></span></div><div class="separator" style="clear: both; text-align: center;"><br />
</div>Create two arrayLists, the first array must have 5 unique strings and the second array must consist of only the last 2 strings from the first array.Then create a method that will iterate through the first arrayList and filter out any strings that are also in the second array. Print your results.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><span style="font-size: small;">Legendary Challenges consist of only a very broad description of the challenge making them a little harder.The end results should still be the same as the regular challenge. </span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br />
</span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE </b></span></div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-small;">1. Create a </span><span style="color: magenta; font-size: x-small;">String array</span><span style="font-size: x-small;"> named "things" containing the strings "eggs", "lasers","hats" and "pie"</span></div>2. Create a new <span style="color: magenta;">ArrayList</span> named "list1"<br />
3. Create a <span style="color: magenta;">For</span> <span style="color: magenta;">loop</span> that adds the items from the array "things" to "list1"<br />
<div class="separator" style="clear: both; text-align: left;">4. Create a <span style="color: magenta;">String array</span> named "things2" containing only the strings "lasers" & "hats" </div><div class="separator" style="clear: both; text-align: left;">5. Create a new <span style="color: magenta;">ArrayList</span> named "list2"</div>6. Create a <span style="color: magenta;">For</span> <span style="color: magenta;">loop</span> that adds the items from the array "things2" to "list2" <br />
<div class="separator" style="clear: both; text-align: left;">7.Print all the strings in list1 one using a <span style="color: magenta;">for loop</span></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><b>End of Tut 4/Start of Tut 5</b></div><br />
8.Create a method a called <span style="color: magenta;">editList</span> that uses two collection parameters and names them "A1" and "A2"<br />
<span style="font-size: xx-small;">(to make it less confusing just remember that in a later step we will call the editList method and use "list1" & "list2" as parameters) </span><br />
<br />
<span style="font-size: x-small;"><span style="font-size: small;">9.</span> <span style="font-size: small;">Inside the <span style="color: magenta;">editList</span> method loop through each string in "A1" and make sure none of the strings are the same as any of the strings in "A2" </span></span><br />
<br />
10.If any of the strings from "A1" do match any of the strings from "A2" delete the string from "A1"<br />
<br />
11.Call the <span style="color: magenta;">editList</span> method using "list1" & "list2" as parameters<br />
<br />
12.Print a blank line<br />
<br />
13.Print each of the strings in list1 using a <span style="color: magenta;">for loop </span><br />
<br />
<span style="color: magenta;"><span style="color: black; font-size: x-small;"><span style="color: white;">Note: Please keep in mind this blog is a work in progress and ive learned quickly that teaching is alot harder than just following along . If something is explained poorly or you have a suggestion to reword a step please leave a comment below so we can make this the best resource possible for up and coming developers.</span><br />
</span></span><br />
<div style="text-align: center;"><br />
</div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://youtu.be/jU5ACV5MucM">http://youtu.be/jU5ACV5MucM</a></b></span></div><span style="font-size: large;"><b><span style="color: magenta;"><span style="color: cyan;"> Text walk-through of this tutorial: </span>Coming Soon!!!</span></b></span><br />
<span style="font-size: large;"><b><span style="color: magenta;"> <br />
</span></b></span><br />
<div style="text-align: right;"><span style="font-size: large;"><b><span style="color: magenta;"><span style="font-size: small;"><span style="color: lime;">NEXT:</span></span></span></b></span><a href="http://droiddevdictionary.blogspot.com/2011/07/challengeintermediate-java-tut-6.html"><span style="font-size: large;"><b><span style="color: magenta;"><span style="font-size: small;"><span style="color: cyan;">CHALLENGE:Intermediate Java Tut 6-LinkedList>></span></span></span></b></span></a><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span></b></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com2tag:blogger.com,1999:blog-8811813928018222288.post-37312354741176295302011-07-18T14:59:00.000-07:002011-07-18T16:54:23.832-07:00CHALLENGE:Intermediate Java Tut 6-LinkedList<div style="text-align: center;"><b>The following is a challenge for new developers that have completed:<span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"><br />
</span></span></b></div><div style="text-align: center;"><b><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Intermediate Java Tutorial - 6 -LinkedList by theNewBoston</span></span></b></div><span style="font-size: small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><b>CHALLENGE!!</b></span></div><div class="separator" style="clear: both; text-align: center;">(Before starting any of the challenges always declare a class and a main method unless told otherwise)</div><div style="text-align: center;"><b><span style="font-size: x-small;"><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList"> </span><span class="" dir="ltr" id="eow-title" title="Intermediate Java Tutorial - 6 - LinkedList">Difficulty:</span></span></b><span class="st"><span style="color: cyan;">★</span> </span></div>1. Create a String array named "things" with 5 items. <br />
2. Create a new LinkedList named "list1"<br />
3. Create a For loop that adds the items from the array "things" to "list1"<br />
4.Create a String array named "things2" with 4 items. <br />
5.Create a new LinkedList named "list2"<br />
6.Create a For loop that adds the items from the array "things2" to "list2"<br />
7. add all the items on list2 to list1 <br />
8.Set list2 to null <br />
<div style="text-align: center;"><br />
</div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: cyan;">View the video tutorial:</span> <a href="http://youtu.be/BRcY2vIr-EQ">http://youtu.be/BRcY2vIr-EQ</a></b></span></div><div style="text-align: center;"><span style="font-size: large;"><b><span style="color: magenta;"><span style="color: cyan;">Text walkthrough of this tutorial: </span>Coming Soon!!! </span></b></span></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com2tag:blogger.com,1999:blog-8811813928018222288.post-61224062388683755252011-07-14T11:29:00.000-07:002011-07-14T11:57:01.575-07:001 POST+ 5 DAYS = 500 HITS!!!!!!! THANK YOU!!!<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIZHkPEL_JhqM3qrxNpG6OOMlAeA9fV4eqFZwtXGTP9fq6nqv0yYmpyxwqGzyoYFSc1EO-1jxCtH6v5cwO8dZp64Q561H7iuC98D2YFf-Zcu6kb03eIbZE3iXWuvyDghItzjxWyasDQ1Ku/s1600/10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIZHkPEL_JhqM3qrxNpG6OOMlAeA9fV4eqFZwtXGTP9fq6nqv0yYmpyxwqGzyoYFSc1EO-1jxCtH6v5cwO8dZp64Q561H7iuC98D2YFf-Zcu6kb03eIbZE3iXWuvyDghItzjxWyasDQ1Ku/s1600/10.jpg" /></a></div><br />
<br />
I checked the traffic today and I was amazed.3D(Droid Dev Dictionary) has got a 500 hits in less than a week...that's pretty amazing to me considering we only have 1 POST SO FAR!!!!! So I just wanted to thank everyone and confirm that there will be alot more to come . I dont want to make goals I might not be able to keep so im going to start with posting one quality list post every weekend but, if I get some extra time I could post something extra here and there durring the week.Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com0tag:blogger.com,1999:blog-8811813928018222288.post-48897286216099935552011-07-13T16:09:00.000-07:002011-07-13T16:09:15.531-07:00Dr.Java -Simple IDE for Learning Java<div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.drjava.org/"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvRDoPCn7KDh-uV2gerjosvBTg9UmKk27eW7owADMk0p9RcW-aGFwJa8Bz0N6t-z8_oISvgXaDl1kIXGbrGd4fD5reqn2GQTiotXmmoPDG8BdkEFNPK2fRMOI-bZvtZZ45gWuzO6ZKMfc0/s1600/splash.png" /></a></div><br />
<br />
A lot of people these days are getting into development just to develop Android apps, which. Is great because more developers means more great learning resources poping up but, before you can code with the best of them your going to have to learn java. Eventually your probably going to end up using Eclipse (the recommended IDE for android) but, learning the ins and outs of eclipse is a task by itself. Trying to jum right into Eclipse while trying to learn java at the same time would be like having no musical background and tying to dj with the top of the line equipment. Dr.Java is a stripped down ide with just the essentials so you can focus your time on the java syntax.Best of all,its lightweight and.....ITS FREE!!!<br />
<div style="text-align: left;"> <span style="font-size: large;"> </span></div><div style="text-align: center;"><span style="font-size: large;">Download Dr.Java :<a href="http://www.drjava.org/">HERE</a></span></div><div style="text-align: center;"><br />
</div></div>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com20tag:blogger.com,1999:blog-8811813928018222288.post-30945463779133675702011-07-10T13:59:00.000-07:002011-07-13T11:25:57.340-07:00Top 5 Resources for Learning Java for Android<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0RuhOxz-YGWkS-bVXhlkb9SUrc0EWfSnvObIQUIOtL9Z8AS7HUjq6ZOWMY9iR0w-TN4GNc6ESMulwOaTlABpcTCH6Qe2i4HSyoTiaHheEOLJ3OQt8zLHjb_Yl6xj0dGqNx9ArH238xTCi/s1600/DroidJava.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0RuhOxz-YGWkS-bVXhlkb9SUrc0EWfSnvObIQUIOtL9Z8AS7HUjq6ZOWMY9iR0w-TN4GNc6ESMulwOaTlABpcTCH6Qe2i4HSyoTiaHheEOLJ3OQt8zLHjb_Yl6xj0dGqNx9ArH238xTCi/s1600/DroidJava.png" /></a></div><br />
<br />
Learning to make Android apps is alot like saying " I wanna learn how to write novels in Spanish" You cant just start writing novels in Spanish if Spanish isn't your primary language. First you learn the language(java) then after alot of practice you start to catch on to the grammar(syntax) and start to make connections and form sentences. Finally you start to see the big picture of the language and with time your able to write with some sense of style so you can finally write that Spanish novel.(your Android app)<br />
<br />
<b>We dont ask for donations but, if you found this post helpful and want to see more please give +k in Java or Android Via: <a href="http://klout.com/#/Fresh83/topics">http://klout.com/Fresh83</a></b> <br />
<br />
Learning java for Android can seem overwhelming . You have to learn this completely foreign language before you can even start to get to the good stuff(working on apps) not only that but, the java language is HUGE!!! Where do you start? What do you need to know? whats irrelevant to you as a android developer?Below are 5 of my favorite resources for building a strong foundation in java.<br />
<br />
<a href="http://see.stanford.edu/see/lecturelist.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111"><b><span style="font-size: large;">I.Programming Methodology- Stanford</span></b></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://see.stanford.edu/see/lecturelist.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRukztx6NrOut36jdrPVY-kMDtAbBo4UwBIcb4y2UX8m8kxMHlEs_dCr1mwN9Z4VGBmX8ybMRn0oczapvQ9HHYI_0NfAA3Br_WPIAxnXzqGREkq6t27_wIwzbd4K6QUl3U3jtwyZKD8UfS/s1600/Stanford.png" /></a></div><br />
<br />
If your new to Java or development in general this is a priceless web gem.I would dare to say that Mehran Sahami is the best professor ive ever learned from. You can tell the man puts real work into his lessons and does all he can to make java more interesting than it really is. The course is great because it requires no prerequisite programming skills but, does require some level of patience(there is around 30 hours of content from start to finish separated into hour long lectures.It may not be the quickest way to learn java overnight but, your getting something more than someone telling you to cut this and paste this. Its called programming methodology because its aimed to teach you the top down mindset of a developer from the start.The entire course is online via youtube and also comes complete with full class documentation and homework assignments(dont skip them , they may be challenging, but you will thank me after you complete them.<br />
<br />
<br />
<a href="http://www.blogger.com/goog_664419818"><br />
</a><br />
<a href="http://mobile.tutsplus.com/tutorials/android/java-tutorial/"><b><span style="font-size: large;">II.MobileTutsPlus-Learning Java for Android</span></b></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://mobile.tutsplus.com/tutorials/android/java-tutorial/"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWDLkOaZzmeJ8klWQu0Jh2HvpTdnLqd5JgNK_UUBLN8afQyIHfBJrZ9PeJhwgZ0W9ge2n1khHEAE1vATMBCtt0mha805_KMYy1XOOoXYki8CWmM0bLjeYK-EuljbHDvZvEyh81mTat74B2/s1600/mobiletuts.png" /></a></div><br />
<br />
If you have development experience in another language and just need a crash course in the java for android this is the tutorial series for you. This series gets right to the meat and potato's with little to no filler.Another thing I really like about this tut series is it mixes in what they call "challenges" where they ask you to do something based on what youve learned in the previous tutorials without just giving you the answer. This is great because it makes what your reading stick to you.<br />
<br />
<br />
<div style="color: #999999;"><a href="http://www.blogger.com/goog_664419843"><br />
</a></div><div style="color: #999999;"><a href="http://download.oracle.com/javase/tutorial/java/index.html"><span style="font-size: large;">III.The Java Trails-A Reliable Foundation</span></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://download.oracle.com/javase/tutorial/java/index.html"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibKxaNF8-88TDL6evTaSRtztHod_0GWqCG861zK513smF5oWA81jQiQLVgCZvpXWqaHyuiKGc7p4CSqZD9fvByJtqfCcPNdvBG1F-E0nKmsuajPA2pUm9TtD9tZN5E5naUFHjs2UqgMdo2/s1600/Trails.png" /></a></div><br />
<br />
Ahh the good ol' java trails . Java trails aim to be the master resource for learning java by oracle(the company that owns java) Thinking back what really stuck to me from these tutorials was a overall understanding of OOP. There is literally 1000s of pages on literally everything you could ever want to know about java around here but, in my personal opinion they can be a little dry. Its a good tutorial series to have bookmarked if you want to learn about something specific but, I wouldn't spend weeks trying to read over them from start to finish. There is not enough actual tutorials and things will start to blend together in your mind if your not actually practicing what your learning about.<br />
<br />
<br />
<span style="font-size: large;"><br />
</span><br />
<a href="http://www.headfirstlabs.com/books/hfjava/"><span style="font-size: large;">IV.Head First Java-Java for the right brained ADHD Developer </span></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.headfirstlabs.com/books/hfjava/"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkAvRIZ-eSPsc68_Z9SdZSXyF9iTlt6zFqV4ZX52wBi3Cc1sWhImgow3gscVy4Zze_NqsAitIeFkqKy5XBlStNfesbGuuvLmLFNpwRRjimw9_zNl5r1FT7wgkWDMybu4EaVxPM9ANUkli7/s1600/HeadFirst.png" /></a></div><br />
<br />
Head first is a unique book series that accounts for the way the human brain learns best. The books are easy to read and packed with humor, pictures and analogy's that make sense to those of us who don't think in 1's and 0's naturally.The downside is this is not a free series unless your lucky enough to know a pirate....and did i mention torrents are illegal ( I hope someone got that)<br />
<br />
<br />
<a href="http://www.blogger.com/goog_1929192168"><b><span style="font-size: large;"><br />
</span></b></a><br />
<div style="background-color: white; color: lime;"><a href="http://www.thenewboston.com/?cat=36&pOpen=tutorial"><b><span style="font-size: large;">IV.TheNewBoston-Youtube's Java Juggernaut </span></b></a></div><div style="background-color: white;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://www.thenewboston.com/?cat=36&pOpen=tutorial" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUJmxd-LeMcZHbMojuX35H45aq8cv0KBZto2ieh8Ot-qopy8WwQNGaS5Y2R-IsKTyGGE1eUpzrYRGSa9fOPpal2T8Im6kdv8-9KTHvkYmO3C1wrT8do-Tbx1jDuWWaFBqPkt2G3UFU3H94/s1600/TheNewBoston.png" /></a></div><br />
<br />
If youve typed in "Java Tutorials" on youtube you've probably heard my boy Bucky keeping it real and spitting knowledge to all you java newbs out there.This guy is Java Juggernaut. His beginner series alone has 87 videos and there all quality. If that wasn't enough he also did a intermediate series that probably has another 80(I haven't finished them all yet myself) This guy has the learning java via youtube market under lock and key and hes one guy doing this stuff from home!!! His tutorials are short(very few exceeding 10 minutes), sweet and casual which makes them easy on the ears.I give big props to this guy and you should to.If you watch 10 or more of these tutorials I would highly recommend donating a few buck's to encourage people to do stuff like this out of the kindness of there hearts. <br />
<br />
<b><br />
<a href="http://www.thenewboston.com/?cat=36&pOpen=tutorial"></a></b>Chuck Kellyhttp://www.blogger.com/profile/14605835783770254356noreply@blogger.com610