<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkQHQn86eSp7ImA9Wx5TFEw.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415</id><updated>2010-07-29T07:38:53.111-07:00</updated><title>Teacher Techie says</title><subtitle type="html">an online teacher's notes of C, C++ and JAVA programming, more software, technology and bustles. . .</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.teeachertechiesays.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>ROSILIE</name><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>446</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/teeachertechiesays/rRkG" /><feedburner:info uri="teeachertechiesays/rrkg" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkQHQn85eSp7ImA9Wx5TFEw.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-5256589501488627126</id><published>2010-07-29T07:38:00.000-07:00</published><updated>2010-07-29T07:38:53.121-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-29T07:38:53.121-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>Making Up for Missed Classes</title><content type="html">When the store opened almost two weeks ago, I had to miss two (2) of my classes just to attend to stock operations. And, up to this date, business works continue to consume me that my teaching works indeed pile up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have to however squeeze&amp;nbsp; in my works and simply prioritize whatever is more urgent and needed.&amp;nbsp; It is quite wiser and important that we pursue security over our works, properties and family just in case unexpected events happen. Thus, it can be wiser for me and everyone else if insurance like health and&amp;nbsp; &lt;a href="http://www.carinsurancelist.com/"&gt;cheap car insurance&lt;/a&gt; &amp;nbsp; can be one of our top priorities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Because of the missed classes, I have to cope with my absences and that means putting extra hours in school to attend to my students and their subject requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extended time will be over soon and I can only be more relieved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-5256589501488627126?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c5hsYyZ4j1diq7meIoeSWlKrZ3c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c5hsYyZ4j1diq7meIoeSWlKrZ3c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c5hsYyZ4j1diq7meIoeSWlKrZ3c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c5hsYyZ4j1diq7meIoeSWlKrZ3c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/FVfy9brJHzc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/5256589501488627126/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=5256589501488627126" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/5256589501488627126?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/5256589501488627126?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/FVfy9brJHzc/making-up-for-missed-classes.html" title="Making Up for Missed Classes" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/making-up-for-missed-classes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMMSHo7fip7ImA9Wx5TFEw.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-8643169404702541793</id><published>2010-07-29T07:24:00.000-07:00</published><updated>2010-07-29T07:24:49.406-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-29T07:24:49.406-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title /><content type="html">Another illustration of exception handling is the use of exception type, ArithmeticException which is normally used for division by zero among other arithmetic operations.&lt;br /&gt;
&lt;br /&gt;
See the program below for this example.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;  [+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
/* program for try and catch */&lt;br /&gt;
import java.lang.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
public class TryDemo2{&lt;br /&gt;
public static void main ( String args[]) throws IOException{&lt;br /&gt;
BufferedReader stdin = new BufferedReader(new InputStreamReader (System.in));&lt;br /&gt;
&lt;br /&gt;
System.out.println("Input a numerator:");&lt;br /&gt;
String numerator=stdin.readLine();&lt;br /&gt;
int num1=Integer.parseInt(numerator);&lt;br /&gt;
System.out.println("Input a divisor:");&lt;br /&gt;
String divisor=stdin.readLine();&lt;br /&gt;
try{&lt;br /&gt;
&lt;br /&gt;
int num2=Integer.parseInt(divisor);&lt;br /&gt;
System.out.println("The quotient of "+numerator+" and "+divisor+" is "+num1/num2);&lt;br /&gt;
}&lt;br /&gt;
catch (ArithmeticException ex){&lt;br /&gt;
&lt;br /&gt;
System.out.println("Division by zero! ");&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;&lt;input id="gwProxy" type="hidden" /&gt;&lt;input id="jsProxy" onclick="jsCall();" type="hidden" /&gt;&lt;br /&gt;
&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-8643169404702541793?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VXYW1Sm0gZusTYCuuqyrSSnscKM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VXYW1Sm0gZusTYCuuqyrSSnscKM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VXYW1Sm0gZusTYCuuqyrSSnscKM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VXYW1Sm0gZusTYCuuqyrSSnscKM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/piRsSaJt2hA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/8643169404702541793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=8643169404702541793" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8643169404702541793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8643169404702541793?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/piRsSaJt2hA/another-illustration-of-exception.html" title="" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/another-illustration-of-exception.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCRn87eyp7ImA9Wx5TFEw.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-1631260006708317118</id><published>2010-07-29T07:21:00.000-07:00</published><updated>2010-07-29T07:21:07.103-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-29T07:21:07.103-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>Catch Errors through Exceptions</title><content type="html">&amp;nbsp;Exceptions in Java can come in 3 forms: errors, runtime exceptions and logical exceptions. Errors and logical exceptions should be corrected as these affect the program's reliability and accuracy. However, runtime exceptions like division by zero, wrong input format, array access out of size, and etc. However, Java can handle these exception through try -- catch blocks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Typically, NumberFormatException is encountered when a non-numeric input is encoded for a number input. This shall cause a program disruption that shows up the stack trace or the causes of disruption and from what method among other information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sample program below shows the use of exception.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;  [+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
/*program for try and catch */&lt;br /&gt;
import java.lang.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
public class TryDemo1{&lt;br /&gt;
public static void main ( String args[]) throws IOException{&lt;br /&gt;
BufferedReader stdin = new BufferedReader(new InputStreamReader (System.in));&lt;br /&gt;
String myInput;&lt;br /&gt;
System.out.println("Input an integer:");&lt;br /&gt;
myInput=stdin.readLine();&lt;br /&gt;
try{&lt;br /&gt;
int num=Integer.parseInt(myInput);&lt;br /&gt;
System.out.println("The square of "+num+" is "+num*num);&lt;br /&gt;
}&lt;br /&gt;
catch (NumberFormatException ex){&lt;br /&gt;
System.out.println("You have encoded a wrong input");&lt;br /&gt;
}&lt;br /&gt;
System.out.println("Goodbye!");&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-1631260006708317118?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ggUnt3TMLRJbJq-ORjsFywIgRg4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ggUnt3TMLRJbJq-ORjsFywIgRg4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ggUnt3TMLRJbJq-ORjsFywIgRg4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ggUnt3TMLRJbJq-ORjsFywIgRg4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/2egdL8tILHk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/1631260006708317118/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=1631260006708317118" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1631260006708317118?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1631260006708317118?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/2egdL8tILHk/catch-errors-through-exceptions.html" title="Catch Errors through Exceptions" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/catch-errors-through-exceptions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ANSXY7cSp7ImA9WxFaGU4.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-1781774494338897401</id><published>2010-07-22T17:16:00.000-07:00</published><updated>2010-07-23T17:36:38.809-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-23T17:36:38.809-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><category scheme="http://www.blogger.com/atom/ns#" term="job tips" /><category scheme="http://www.blogger.com/atom/ns#" term="schooling tips" /><title>How to Enhance Social Skills in School</title><content type="html">I was never an extrovert person before where I spent most of my schooling days only indoor and academic. However, from prior experience and teaching exposures, you too can develop your social skills. You can employ the following tips to rid gradually your inhibition from social activities.&lt;br /&gt;
&lt;br /&gt;
1. Develop small group of friends who share with you similar interests and values;&lt;br /&gt;
2. Be open to welcoming new acquaintances from your friends' circles;&lt;br /&gt;
3. Join academic or non - academic groups;&lt;br /&gt;
4. Take personality - enhancement talks or fora;&lt;br /&gt;
5. Join in social events - start with required activities and extend these to off - school fun; and&lt;br /&gt;
6. Enjoy the company of others.&lt;br /&gt;
7. Enhance your personality through fashion and body makeover,  regular exercise, diet and other personality - boosting measures like  &lt;a href="http://buytopdietpills.com/apidexin/"&gt;apidexin&lt;/a&gt;    to complement your weight loss/gain programs.&lt;br /&gt;
&lt;br /&gt;
Being alone may mean fun too, however, social skills are imperative whenever you wish to work. Thus, exposure while in school can gradually help you improve your interpersonal skills and through this, your confidence is further boosted. It will simply come handy when you assert your worth as you apply for &amp;nbsp;or pursue a job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-1781774494338897401?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Vc_qJe2dviLdkEwGJgZ1LrPq4iY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Vc_qJe2dviLdkEwGJgZ1LrPq4iY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Vc_qJe2dviLdkEwGJgZ1LrPq4iY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Vc_qJe2dviLdkEwGJgZ1LrPq4iY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/3ESL4GEW30M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/1781774494338897401/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=1781774494338897401" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1781774494338897401?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1781774494338897401?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/3ESL4GEW30M/how-to-enhance-social-skills-in-school.html" title="How to Enhance Social Skills in School" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/how-to-enhance-social-skills-in-school.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4MQHc9fSp7ImA9WxFaGEk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-3204278058288073642</id><published>2010-07-22T16:51:00.000-07:00</published><updated>2010-07-22T17:29:41.965-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-22T17:29:41.965-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><title>School Acquiantance Day Today</title><content type="html">Classes are suspended for half a day today to give way to our evening Acquaintance Party &amp;nbsp;and the theme is for everyone to wear black and white outfit. &lt;br /&gt;
&lt;br /&gt;
My sister has to scout around for the perfect match although I am quite sure other students have had troubles finding their own suits. I have to however settle with the ones in my closet and simply mix and match them.&lt;br /&gt;
&lt;br /&gt;
I have to just pack my &amp;nbsp;own clothing since store works are still to be attended today until 7pm. I am quite sure students are excited to show off their attire and paint the town red with all the anticipated fun.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-3204278058288073642?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NkW8oG9Ob6WClBYDQQYGTQTKLqk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NkW8oG9Ob6WClBYDQQYGTQTKLqk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NkW8oG9Ob6WClBYDQQYGTQTKLqk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NkW8oG9Ob6WClBYDQQYGTQTKLqk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/Fs6_RfaI7s0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/3204278058288073642/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=3204278058288073642" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3204278058288073642?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3204278058288073642?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/Fs6_RfaI7s0/how-to-improve-social-skills-in-schools.html" title="School Acquiantance Day Today" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/how-to-improve-social-skills-in-schools.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUGQ3Y9fyp7ImA9WxFaGEk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-9031656699544995218</id><published>2010-07-22T16:43:00.000-07:00</published><updated>2010-07-22T16:43:42.867-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-22T16:43:42.867-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title /><content type="html">&amp;nbsp;Method overriding is also possible in inheritance; with similar method name, a child class can replace the methods in the parent class.&lt;br /&gt;
&lt;br /&gt;
Depending on which method you access, you will see unique actions from the instantiated class. See a sample program of how I have two methods of the same name. &amp;nbsp;And, with a constructor, I pass the initial value to my classes.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
/*with super in constructor*/&lt;br /&gt;
import javax.swing.*;&lt;br /&gt;
public class SampleInheritanceMethodOverload1{&lt;br /&gt;
&lt;br /&gt;
public static void main (String args[]){&lt;br /&gt;
&lt;br /&gt;
ParentClass myObject1 = new ParentClass("Yuri");  &lt;br /&gt;
myObject1.printGreetings();&lt;br /&gt;
BaseClass myObject2 = new BaseClass("Juana");         &lt;br /&gt;
myObject2.printGreetings();&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class ParentClass{&lt;br /&gt;
String name;&lt;br /&gt;
&lt;br /&gt;
ParentClass(String xname)&lt;br /&gt;
{ &lt;br /&gt;
name=xname;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void printGreetings()&lt;br /&gt;
{&lt;br /&gt;
JOptionPane.showMessageDialog(null,"Hello "+name);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class BaseClass extends ParentClass{&lt;br /&gt;
String xname;&lt;br /&gt;
BaseClass(String myname)&lt;br /&gt;
{&lt;br /&gt;
super(myname);&lt;br /&gt;
xname=myname;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void printGreetings()&lt;br /&gt;
{&lt;br /&gt;
JOptionPane.showMessageDialog(null,"Hi "+xname);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-9031656699544995218?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-9OEeTrRWqBvxXFfVYItPXZ9LGM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-9OEeTrRWqBvxXFfVYItPXZ9LGM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-9OEeTrRWqBvxXFfVYItPXZ9LGM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-9OEeTrRWqBvxXFfVYItPXZ9LGM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/GQa8SxvCXG0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/9031656699544995218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=9031656699544995218" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/9031656699544995218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/9031656699544995218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/GQa8SxvCXG0/overriding-is-also-possible-in.html" title="" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/overriding-is-also-possible-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4BQ3s4cCp7ImA9WxFaFkk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-8876683448169156015</id><published>2010-07-20T08:44:00.000-07:00</published><updated>2010-07-20T08:49:12.538-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-20T08:49:12.538-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>How to Protect Yourself from Misfortune</title><content type="html">Irregardless of culture, religion or gender, mishaps or misfortunes for others may happen at the most unexpected time. Thus, it pays off when we are proactive and reactive that we respond to present issues and anticipate future trends.&lt;br /&gt;
&lt;br /&gt;
I get nervous when unexpected things happen and learning how to drive a motorbike at a very late age does not all help. It is however a good thing that I had a good driver to teach me and I took &amp;nbsp;an orientation on traffic rules. Traffic situation is always worse in most parts of the Philippines and along with this is the monstrous number of road accidents. &lt;br /&gt;
&lt;br /&gt;
Normally, a petty delinquent driver is penalized through &amp;nbsp;a fine and traffic reorientation. But, don't you know that in &lt;a href="http://www.easyfastcheaponlinetrafficschool.com/california/federal-online-traffic-school"&gt;California&lt;/a&gt;, when you receive your &lt;a href="http://www.easyfastcheaponlinetrafficschool.com/california/federal-online-traffic-school"&gt;California Federal Court Traffic Ticket&lt;/a&gt;&amp;nbsp;for a violation, you can use a an online traffic school that can help you reclaim your demerit points from traffic misfortunes. The state court recognizes this site and with a payment of $19.95, you can take the lesson and associated exam at your own pacing until you finish the complete set of lessons and you warrant for certification. An 8 - hour of online traffic schooling may be too much for you but their system allows you to cut the lessons to different times as your progress is automatically saved allowing you to resume from where you have last worked on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;At this time where everyone seems in a hurry, it is only sensible that we employ technology to get things done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-8876683448169156015?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xi6_iqyn_zdpNGPP0HtjsqTnaCs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xi6_iqyn_zdpNGPP0HtjsqTnaCs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xi6_iqyn_zdpNGPP0HtjsqTnaCs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xi6_iqyn_zdpNGPP0HtjsqTnaCs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/N9EO_G9zVow" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/8876683448169156015/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=8876683448169156015" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8876683448169156015?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8876683448169156015?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/N9EO_G9zVow/how-to-protect-yourself-from-misfortune.html" title="How to Protect Yourself from Misfortune" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/how-to-protect-yourself-from-misfortune.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AARXo8fCp7ImA9WxFaFk4.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-3691148595232529220</id><published>2010-07-20T08:29:00.000-07:00</published><updated>2010-07-20T08:29:04.474-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-20T08:29:04.474-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>The Use of Super in Java Programs</title><content type="html">The Java keyword &lt;em&gt;super&lt;/em&gt; has &amp;nbsp;a special use in the application of inheritance. When we pass parameters to our constructors, we also perform the same thing for parents and child classes. A child class may access the parent class' fields through the use of super to pass parameters to parent class.&lt;br /&gt;
&lt;br /&gt;
See the sample below for the illustration.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
/*with super in constructor*/&lt;br /&gt;
import javax.swing.*; &lt;br /&gt;
public class SampleInheritance4{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public static void main (String args[]){&lt;br /&gt;
String myname=JOptionPane.showInputDialog("Input a  student name: ");&lt;br /&gt;
String myaddress=JOptionPane.showInputDialog("Input a student's address: ");&lt;br /&gt;
String mycourse=JOptionPane.showInputDialog("Input a student's college course: ");&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
College2 obj1=new College2(myname,myaddress);&lt;br /&gt;
obj1.setcourse(mycourse);&lt;br /&gt;
&lt;br /&gt;
JOptionPane.showMessageDialog(null,"object of the child class");&lt;br /&gt;
JOptionPane.showMessageDialog(null,"Student's Info: "+"\n"+obj1.name+"\n"+obj1.getaddress()+"\n"+obj1.getcourse());&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class Student2{&lt;br /&gt;
protected String name;&lt;br /&gt;
protected String address;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
String getname()&lt;br /&gt;
{return this.name;}&lt;br /&gt;
&lt;br /&gt;
String getaddress()&lt;br /&gt;
{return this.address;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class College2 extends Student2{&lt;br /&gt;
&lt;br /&gt;
College2(String xname,String xaddress){&lt;br /&gt;
super.name=xname;               // passing the values of xname and xaddress to parent variables names and address&lt;br /&gt;
super.address=xaddress;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
String course;&lt;br /&gt;
&lt;br /&gt;
void setcourse(String xcourse)&lt;br /&gt;
{course=xcourse;}&lt;br /&gt;
&lt;br /&gt;
String getcourse()&lt;br /&gt;
{return this.course;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-3691148595232529220?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5-gRl2WMAvG8iZHblZzpxhMxwG8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-gRl2WMAvG8iZHblZzpxhMxwG8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5-gRl2WMAvG8iZHblZzpxhMxwG8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-gRl2WMAvG8iZHblZzpxhMxwG8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/vw2SLjt7uW0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/3691148595232529220/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=3691148595232529220" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3691148595232529220?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3691148595232529220?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/vw2SLjt7uW0/use-of-super-in-java-programs.html" title="The Use of Super in Java Programs" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/use-of-super-in-java-programs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YHQno_fip7ImA9WxFaFk4.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-6819556714683172713</id><published>2010-07-20T08:15:00.000-07:00</published><updated>2010-07-20T08:18:53.446-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-20T08:18:53.446-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><category scheme="http://www.blogger.com/atom/ns#" term="schooling tips" /><category scheme="http://www.blogger.com/atom/ns#" term="programming tips" /><title>How Skills Improve Your Intelligence</title><content type="html">I read from few articles of notable individuals that IQ is inate and can be highly affected by our own genes; however, this does not mean that our skills or competencies are limited if our IQ is less or negligible. Readers' Digest once featured that IQ can be boosted through different &amp;nbsp;means including:&lt;br /&gt;
&lt;br /&gt;
1. getting a sensible and intellectual partner for sensible conversations throughout your time;&lt;br /&gt;
2. acquiring new skills as new skills create more neurons that affect our intelligence;&lt;br /&gt;
3. reading more and more;&lt;br /&gt;
4. getting a challenging job;&lt;br /&gt;
&lt;br /&gt;
At my age, a challenging job seems hard to endure, but, &amp;nbsp;through constant drive and push, our brain can fully work. &amp;nbsp;I recently learned how to drive and this is a new skill that requires wits and a lot of practical sense. Responsibility however, does not end before and during traffic exam; greater responsibility is even endured once we receive our driver's license. Inevitably, however, &amp;nbsp;road accidents or &amp;nbsp;unintentional lapse to abide by the road rules may possibly&amp;nbsp; happen causing infringement against our license. Thus, it is highly important that we take the needed schooling and doing this fast is simply more preferred.&lt;br /&gt;
&lt;br /&gt;
In &amp;nbsp;&lt;a href="http://www.easyfastcheaponlinetrafficschool.com/nevada/site_nevada_course.asp"&gt;Nevada Traffic School Online&lt;/a&gt;, they can give you a fast and effective way to relieve your driving points from demerits. A mere $19.95 is a meager amount to reclaim your driving merit points. &amp;nbsp;The court recognizes this &lt;a href="http://www.easyfastcheaponlinetrafficschool.com/nevada/site_nevada_course.asp"&gt;traffic school entity&lt;/a&gt; and you are allowed to have an 8-hour traffic course. Their vivid instructions on how to take the lesson and the quiz are 1-2-3 ways to getting your license' honor again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-6819556714683172713?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_AbXOO-WWIvOUo9h1MThYIO49g0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_AbXOO-WWIvOUo9h1MThYIO49g0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_AbXOO-WWIvOUo9h1MThYIO49g0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_AbXOO-WWIvOUo9h1MThYIO49g0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/ru2H7P_2z5c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/6819556714683172713/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=6819556714683172713" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/6819556714683172713?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/6819556714683172713?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/ru2H7P_2z5c/how-skills-improve-your-intelligence.html" title="How Skills Improve Your Intelligence" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/how-skills-improve-your-intelligence.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMEQ3w7cSp7ImA9WxFaFk4.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-83143819952157818</id><published>2010-07-20T07:50:00.000-07:00</published><updated>2010-07-20T07:50:02.209-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-20T07:50:02.209-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>More of Inheritance Illustration</title><content type="html">&amp;nbsp;To define clearly the use of inheritance, &amp;nbsp;we apply this to a relationship between a student who has to go through different schooling levels including college.&lt;br /&gt;
&lt;br /&gt;
The program below assigns the Student as the parent class while College as the child class. Through inheritance, the child class can simply call the methods and fields in the parent class by any object that instantiates it.&lt;br /&gt;
&lt;br /&gt;
The program below illustrates this point.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
import javax.swing.*; &lt;br /&gt;
public class SampleInheritance3{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public static void main (String args[]){&lt;br /&gt;
String myname=JOptionPane.showInputDialog("Input a  student name: ");&lt;br /&gt;
String myaddress=JOptionPane.showInputDialog("Input a student's address: ");&lt;br /&gt;
&lt;br /&gt;
Student1 obj1=new Student1();&lt;br /&gt;
obj1.setname(myname);&lt;br /&gt;
obj1.setaddress(myaddress);&lt;br /&gt;
&lt;br /&gt;
System.out.println("object of parent class");&lt;br /&gt;
System.out.println("Student's name : "+obj1.getname());&lt;br /&gt;
System.out.println("Student's address : "+obj1.getaddress());&lt;br /&gt;
&lt;br /&gt;
College1 obj2=new College1();&lt;br /&gt;
String mycourse=JOptionPane.showInputDialog("Input a student's college course: ");&lt;br /&gt;
obj2.setname(myname);&lt;br /&gt;
obj2.setaddress(myaddress);&lt;br /&gt;
obj2.setcourse(mycourse);&lt;br /&gt;
&lt;br /&gt;
JOptionPane.showMessageDialog(null,"object of the child class");&lt;br /&gt;
JOptionPane.showMessageDialog(null,"Student's Info: "+"\n"+obj2.name+"\n"+obj2.getaddress()+"\n"+obj2.getcourse());&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class Student1{&lt;br /&gt;
protected String name;&lt;br /&gt;
protected String address;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void setname(String xname)&lt;br /&gt;
{name=xname;}&lt;br /&gt;
&lt;br /&gt;
String getname()&lt;br /&gt;
{return name;}&lt;br /&gt;
&lt;br /&gt;
void setaddress(String xaddress)&lt;br /&gt;
{address=xaddress;}&lt;br /&gt;
&lt;br /&gt;
String getaddress()&lt;br /&gt;
{return address;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class College1 extends Student1{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
String course;&lt;br /&gt;
&lt;br /&gt;
void setcourse(String xcourse)&lt;br /&gt;
{course=xcourse;}&lt;br /&gt;
&lt;br /&gt;
String getcourse()&lt;br /&gt;
{return course;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-83143819952157818?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Pzjs0oTHsI452OunO5HJAINf6ms/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Pzjs0oTHsI452OunO5HJAINf6ms/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Pzjs0oTHsI452OunO5HJAINf6ms/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Pzjs0oTHsI452OunO5HJAINf6ms/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/gNu3535jVU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/83143819952157818/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=83143819952157818" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/83143819952157818?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/83143819952157818?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/gNu3535jVU4/more-of-inheritance-illustration.html" title="More of Inheritance Illustration" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/more-of-inheritance-illustration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQEQHg_fCp7ImA9WxFaFEs.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-8247368064537481628</id><published>2010-07-08T06:02:00.000-07:00</published><updated>2010-07-18T07:28:21.644-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-18T07:28:21.644-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>How to  Improve Your  Personality</title><content type="html">Personality affects self - confidence and this is an issue not limited to students or teachers alone. In fact, a number has low self - esteem that printed and non - printed media seem too define personality if you have long legs, great body figures, Hollywood face or hefty paychecks. &lt;br /&gt;
&lt;br /&gt;
However, self - confidence can only be improved through self interventions too to start with. Experts say that to improve your personality, you have to at least address the cause(s) of your poor self - esteem;&amp;nbsp; these can be your physical features like body weights or disfigures or poor hygiene. You can actually remedy this through exercise using &amp;nbsp;&lt;a href="http://www.globalfitness.com/"&gt;fitness equipment&lt;/a&gt; or alike. If you have a body disfigure, a surgery &amp;nbsp;or artificial replacement&amp;nbsp;can be done. A poor hygiene that leads to bad breath or body odor can also be remedied as commercial products or services can assist you.&lt;br /&gt;
&lt;br /&gt;
More importantly, it is necessary that you have a positive outlook of yourself; if you believe that you are as important as others and not afraid to commit mistakes, other people will simply respect and trust you more. You don't have to be a celebrity or VIP to be heard; an improved self - confidence can make a valuable difference.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-8247368064537481628?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hfdSL228fEOsEQxmZ9QKyQnp6R8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hfdSL228fEOsEQxmZ9QKyQnp6R8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hfdSL228fEOsEQxmZ9QKyQnp6R8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hfdSL228fEOsEQxmZ9QKyQnp6R8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/gfjHFClYV68" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/8247368064537481628/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=8247368064537481628" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8247368064537481628?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8247368064537481628?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/gfjHFClYV68/how-to-have-improve-your-personality.html" title="How to  Improve Your  Personality" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/how-to-have-improve-your-personality.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAERnkyeCp7ImA9WxFbFUQ.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-4453788820920629126</id><published>2010-07-08T05:05:00.000-07:00</published><updated>2010-07-08T05:05:07.790-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-08T05:05:07.790-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>Another Java Inheritance Sample</title><content type="html">&amp;nbsp;Posted in a previous post, another illustration of inheritance is the program herein with methods that return values to their calling program.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
import javax.swing.*; &lt;br /&gt;
public class SampleInheritance2{&lt;br /&gt;
public static void main (String args[]){&lt;br /&gt;
String numstring1=JOptionPane.showInputDialog("Input a number");&lt;br /&gt;
int mynum1=Integer.parseInt(numstring1);&lt;br /&gt;
&lt;br /&gt;
Parent2 obj1=new Parent2();&lt;br /&gt;
obj1.setnum(mynum1);&lt;br /&gt;
&lt;br /&gt;
System.out.println("Your input from parent : "+obj1.num);&lt;br /&gt;
System.out.println("Square: "+obj1.square());&lt;br /&gt;
System.out.println("Cube: "+obj1.cube());&lt;br /&gt;
&lt;br /&gt;
String numstring2=JOptionPane.showInputDialog("Input a number");&lt;br /&gt;
int mynum2=Integer.parseInt(numstring2);&lt;br /&gt;
&lt;br /&gt;
Child2 obj2=new Child2();&lt;br /&gt;
obj2.setnum(mynum2);&lt;br /&gt;
&lt;br /&gt;
System.out.println("Your input from child class: "+obj2.getnum());&lt;br /&gt;
System.out.println("Square: "+obj2.square());&lt;br /&gt;
System.out.println("Cube: "+obj2.cube());&lt;br /&gt;
System.out.println("Nth from child class: "+obj2.nth());&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class Parent2{&lt;br /&gt;
int num;&lt;br /&gt;
void setnum(int x)&lt;br /&gt;
{num=x;}&lt;br /&gt;
&lt;br /&gt;
int square()&lt;br /&gt;
{int mysquare=num*num;&lt;br /&gt;
return mysquare;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
int cube()&lt;br /&gt;
{int mycube =num*num*num;&lt;br /&gt;
return mycube;&lt;br /&gt;
}       &lt;br /&gt;
&lt;br /&gt;
int getnum()&lt;br /&gt;
{return num;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class Child2 extends Parent2{&lt;br /&gt;
double  nth()&lt;br /&gt;
{  System.out.println(" last value of num "+num);&lt;br /&gt;
double myquo=num/2.0;&lt;br /&gt;
return myquo;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-4453788820920629126?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PlzzGSGCGsFRlK0HT3n2qR64BAk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PlzzGSGCGsFRlK0HT3n2qR64BAk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PlzzGSGCGsFRlK0HT3n2qR64BAk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PlzzGSGCGsFRlK0HT3n2qR64BAk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/UGXgsD2quNM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/4453788820920629126/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=4453788820920629126" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4453788820920629126?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4453788820920629126?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/UGXgsD2quNM/another-java-inheritance-sample.html" title="Another Java Inheritance Sample" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/another-java-inheritance-sample.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIGQXk8eSp7ImA9WxFbFUQ.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-8161754186875766501</id><published>2010-07-08T05:02:00.000-07:00</published><updated>2010-07-08T05:02:00.771-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-08T05:02:00.771-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>Java's Principle of Inheritance</title><content type="html">&amp;nbsp;One of the highlights of object - oriented programming is its ability to reuse objects. In Java, a parent and child relationship can exist and this is done through the keyword&amp;nbsp;&lt;em&gt;extends.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
With the relationship, a child can access the parent's methods and fields with the child's class ability to create its own methods and attributes.&lt;br /&gt;
&lt;br /&gt;
See the program below for the sample program.&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
import javax.swing.*; &lt;br /&gt;
public class SampleInheritance{&lt;br /&gt;
public static void main (String args[]){&lt;br /&gt;
String numstring1=JOptionPane.showInputDialog("Input a number");&lt;br /&gt;
int mynum1=Integer.parseInt(numstring1);&lt;br /&gt;
&lt;br /&gt;
Parent1 obj1=new Parent1();&lt;br /&gt;
obj1.setnum(mynum1);&lt;br /&gt;
obj1.square();&lt;br /&gt;
obj1.cube();&lt;br /&gt;
System.out.println("Last number result from parent methods: "+obj1.getnum());&lt;br /&gt;
&lt;br /&gt;
String numstring2=JOptionPane.showInputDialog("Input a number");&lt;br /&gt;
int mynum2=Integer.parseInt(numstring2);&lt;br /&gt;
&lt;br /&gt;
Child1 obj2=new Child1();&lt;br /&gt;
obj2.setnum(mynum2);&lt;br /&gt;
&lt;br /&gt;
obj2.square();&lt;br /&gt;
obj2.cube();&lt;br /&gt;
obj2.nth();&lt;br /&gt;
&lt;br /&gt;
System.out.println("Last number result with parent and child methods: "+obj2.getnum());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class Parent1{&lt;br /&gt;
int num;&lt;br /&gt;
void setnum(int x)&lt;br /&gt;
{num=x;}&lt;br /&gt;
&lt;br /&gt;
void square()&lt;br /&gt;
{num=num*num;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void cube()&lt;br /&gt;
{num =num*num*num;&lt;br /&gt;
&lt;br /&gt;
}       &lt;br /&gt;
&lt;br /&gt;
int getnum()&lt;br /&gt;
{return num;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class Child1 extends Parent1{&lt;br /&gt;
void nth()&lt;br /&gt;
{  num=num/2;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-8161754186875766501?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Z4MFW3-NhGJDf1k9Or5Kbho7apw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z4MFW3-NhGJDf1k9Or5Kbho7apw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Z4MFW3-NhGJDf1k9Or5Kbho7apw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z4MFW3-NhGJDf1k9Or5Kbho7apw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/f2Uf73Fk44c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/8161754186875766501/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=8161754186875766501" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8161754186875766501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8161754186875766501?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/f2Uf73Fk44c/javas-principle-of-inheritance.html" title="Java's Principle of Inheritance" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/javas-principle-of-inheritance.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEBQHs-fip7ImA9WxFbEkU.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-4087129289948928609</id><published>2010-07-04T16:00:00.000-07:00</published><updated>2010-07-04T16:04:11.556-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T16:04:11.556-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>Anyone But the Teacher Can Be Absent</title><content type="html">Teaching can be a fulfilling work but quite draining too especially if you have more than three (3) subject preparations to do every week. I only have three (3) preparations but two (2) of these subjects are new and with laboratory that quite fill my entire week including Saturdays.&amp;nbsp; &amp;nbsp;I have to exert more readings on these two (2) subjects that I feel I have a full - time load to endure.&lt;br /&gt;
&lt;br /&gt;
I don't feel well as I have colds and my kid has been sick for a couple of days with on and off fever. He has been absent from school for three (3) days and we still have to bring him to his pediatrician for thorough check - up while I am still contemplating whether I have to miss my class. This is the sad thing about being absent when you are teacher; you shall waste the time of all your students and I quite feel quite guilty about that, so, as much as possible, &amp;nbsp;I go to school in spite of uncomfortable situations.&lt;br /&gt;
&lt;br /&gt;
Teaching students about academic contents, health including &lt;a href="http://www.humangrowthhormone.net/"&gt;human growth hormone supplements&lt;/a&gt; , social and economic problems, values education among others are complementary. I guess this commitment for service is rooted from my orientation as a private secular teacher.&lt;br /&gt;
&lt;br /&gt;
I only hope I don't get dizzy when I face my students today.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-4087129289948928609?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gEnVvtGdnGVYm7K4UrLP9Ne38zU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gEnVvtGdnGVYm7K4UrLP9Ne38zU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gEnVvtGdnGVYm7K4UrLP9Ne38zU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gEnVvtGdnGVYm7K4UrLP9Ne38zU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/DaZGThwFCqU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/4087129289948928609/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=4087129289948928609" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4087129289948928609?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4087129289948928609?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/DaZGThwFCqU/anyone-but-teacher-can-be-absent.html" title="Anyone But the Teacher Can Be Absent" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/anyone-but-teacher-can-be-absent.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUICRn89fip7ImA9WxFbEkU.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-4068167945010374365</id><published>2010-07-04T15:46:00.000-07:00</published><updated>2010-07-04T15:46:07.166-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T15:46:07.166-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="IT Graduates" /><category scheme="http://www.blogger.com/atom/ns#" term="IT Education" /><title>Center of Excellence for Information Technology Education Programs</title><content type="html">One of the main thrusts of CHED is for schools to &amp;nbsp;provide quality education through competent faculty, sufficient facilities and effective programs can help produce highly able graduates. And, when schools manage to acquire COE recognition, they receive due assistance and honor from CHED.&lt;br /&gt;
&lt;br /&gt;
In the Philippines, only the following schools are recognized as COE on IT:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Ateneo de Manila University - NCR&lt;/li&gt;
&lt;li&gt;De La Salle University - NCR&lt;/li&gt;
&lt;li&gt;&amp;nbsp;East Asia College - NCR&lt;/li&gt;
&lt;li&gt;Polytechnic University of the Philippines - NCR&lt;/li&gt;
&lt;li&gt;&amp;nbsp;University of the Philippines-Diliman - NCR&lt;/li&gt;
&lt;li&gt;Baguio Colleges Foundation- CAR&lt;/li&gt;
&lt;li&gt;Lorma College - Region 1&lt;/li&gt;
&lt;li&gt;University of La Sallette - Region 2&lt;/li&gt;
&lt;li&gt;Angeles University Foundation - Region 3&lt;/li&gt;
&lt;li&gt;&amp;nbsp;De La Salle University-Dasmariñas - Region 4&lt;/li&gt;
&lt;li&gt;University of the Philippines, Los Baños&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Ateneo de Naga - Region 5&lt;/li&gt;
&lt;li&gt;Southern Luzon Technological College Foundation Inc. -Legazpi - Region 5&lt;/li&gt;
&lt;li&gt;University of Negros Occidental-Recoletos - Region 6&lt;/li&gt;
&lt;li&gt;Cebu Institute of Technology - Region 7&lt;/li&gt;
&lt;li&gt;Asian Development Foundation College -Region 8&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Ateneo de Zamboanga - Region 9&lt;/li&gt;
&lt;li&gt;St. Columban College- Region 9&lt;/li&gt;
&lt;li&gt;Misamis University - Region 10&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Xavier University - Region 10&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Ateneo de Davao University - Region 11&lt;/li&gt;
&lt;li&gt;Notre Dame of Marbel University - Region 11&lt;/li&gt;
&lt;li&gt;Mindanao State University-Iligan Instituteof Technology - Region 12&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-4068167945010374365?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8ayrrAyN7mF9NxkQBPB-0PavqgQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8ayrrAyN7mF9NxkQBPB-0PavqgQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8ayrrAyN7mF9NxkQBPB-0PavqgQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8ayrrAyN7mF9NxkQBPB-0PavqgQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/4kbN5XWw1_k" height="1" width="1"/&gt;</content><link rel="related" href="http://en.wikipilipinas.org/index.php?title=Directory:_CHED's_Centers_of_Excellence" title="Center of Excellence for Information Technology Education Programs" /><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/4068167945010374365/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=4068167945010374365" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4068167945010374365?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4068167945010374365?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/4kbN5XWw1_k/center-of-excellence-for-information.html" title="Center of Excellence for Information Technology Education Programs" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/center-of-excellence-for-information.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUDQ30-fyp7ImA9WxFbEkk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-8956135862954928914</id><published>2010-07-04T05:41:00.000-07:00</published><updated>2010-07-04T05:41:12.357-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T05:41:12.357-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><title>What Should You Study?</title><content type="html">&lt;table width=350 align=center border=0 cellspacing=0 cellpadding=2&gt;&lt;tr&gt;&lt;td bgcolor="#EEEEEE" align=center&gt;&lt;br /&gt;
&lt;font face="Georgia, Times New Roman, Times, serif" style='color:black; font-size: 14pt;'&gt;&lt;br /&gt;
&lt;strong&gt;Your Learning Style: Competent and Cooperative&lt;/strong&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td bgcolor="#FFFFFF"&gt;&lt;br /&gt;
&lt;center&gt;&lt;img src="http://www.blogthingsimages.com/whatshouldyoustudyquiz/isfj.jpg" height="100" width="100"&gt;&lt;/center&gt;&lt;br /&gt;
&lt;font color="#000000"&gt;&lt;br /&gt;
You have a great head for facts and figures. You can remember and use any fact you've read.&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
You Should Study:&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Dentistry&lt;br /&gt;&lt;br /&gt;
Education&lt;br /&gt;&lt;br /&gt;
Environmental Science &lt;br /&gt;&lt;br /&gt;
Finance &lt;br /&gt;&lt;br /&gt;
Nursing&lt;br /&gt;&lt;br /&gt;
Nutrition Science &lt;br /&gt;&lt;br /&gt;
Medicine&lt;br /&gt;&lt;br /&gt;
Law&lt;br /&gt;
&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div align="center"&gt;&lt;a href="http://blogthings.com/whatshouldyoustudyquiz/"&gt;What Should You Study?&lt;/a&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://www.blogthings.com"&gt;Blogthings: 100's of Fun, Free Quizzes and 3 Stupid Ones&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-8956135862954928914?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/J-FJsy_83qbrRDrci_MjmrChoe8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J-FJsy_83qbrRDrci_MjmrChoe8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/J-FJsy_83qbrRDrci_MjmrChoe8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J-FJsy_83qbrRDrci_MjmrChoe8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/BkC1k5HoJf4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/8956135862954928914/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=8956135862954928914" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8956135862954928914?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/8956135862954928914?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/BkC1k5HoJf4/what-should-you-study.html" title="What Should You Study?" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/what-should-you-study.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4GSHs-fSp7ImA9WxFbEkk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-1297862249385616688</id><published>2010-07-04T05:35:00.000-07:00</published><updated>2010-07-04T05:35:29.555-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T05:35:29.555-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>Overcoming College Fear</title><content type="html">It is quite typical among incoming college freshmen that they shall feel anxiety as transition from high school to college kicks in. Thus, most schools do have Freshmen Forum or alike as an intervening medium to aid freshmen adjust with college life.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Normally, they are joined with other freshmen with some experts to discuss openly their anxiety and to discuss how they can cope with the social and academic pressures among others. Further, they &amp;nbsp;are joined with peer councilors and student organizations where they can socially harness their skills, interests and talents.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The role &amp;nbsp;of &amp;nbsp;the Guidance Office contributes significantly to influencing freshmen to like their new life as students. They provide various services to include adjustment from staying away from home, some tips and insights on vices, sex, academic delinquency, health issues including sexual transmitted diseases, beauty and personality tips including &lt;a href="http://www.blackheadstreatment.net/"&gt;blackheads treatment&lt;/a&gt; &amp;nbsp;among others.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
College life is never easy, however, it provides wide array of experience of fun, wisdom and excitement that when properly enjoyed can make college days quite pleasant and memorable. &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-1297862249385616688?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lFkXI86MA9wRa27kbS4fRTM-hQs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lFkXI86MA9wRa27kbS4fRTM-hQs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lFkXI86MA9wRa27kbS4fRTM-hQs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lFkXI86MA9wRa27kbS4fRTM-hQs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/OfFxN5kzekU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/1297862249385616688/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=1297862249385616688" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1297862249385616688?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1297862249385616688?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/OfFxN5kzekU/overcoming-college-fear.html" title="Overcoming College Fear" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/overcoming-college-fear.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cNRHc_eip7ImA9WxFbEkk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-3525358357378495835</id><published>2010-07-04T05:04:00.000-07:00</published><updated>2010-07-04T05:04:55.942-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T05:04:55.942-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="programming tips" /><title>Java Certification Exam Tips on Constructors</title><content type="html">Java Certification Exam is given to Java programmers to earn a professional JAVA certified recognition. I found this tips from this &lt;a href="http://www.sap-img.com/java/java-tips.htm"&gt;Java Exam Tips portal&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;The JVM does not call an object’s constructor when an object is cloned.&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;Constructors never return a value. If you do specify a return value, the JVM will interpret your intended constructor as a method.&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;If a class contains no constructor declarations, then a default constructor that takes no arguments is supplied. This default constructor invokes the no-args superclass constructor, i.e. calls super();&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;If, in a constructor, you do not make a direct call to super or this (with or without args) [note: must be on the first line] then super(no args) will first be invoked then any code in the constructor will be executed. See constructors.jpr project.&lt;/em&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;A call to this in a constructor must also be on the first line. Note: can’t have an explicit call to super followed by a call to this in a constructor - only one direct call to another constructor is allowed.&lt;/em&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-3525358357378495835?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dUQ_fHBZlO9aWKrbhDmD3KhCO70/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dUQ_fHBZlO9aWKrbhDmD3KhCO70/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dUQ_fHBZlO9aWKrbhDmD3KhCO70/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dUQ_fHBZlO9aWKrbhDmD3KhCO70/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/RLYP0mRNXkc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/3525358357378495835/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=3525358357378495835" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3525358357378495835?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3525358357378495835?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/RLYP0mRNXkc/java-certification-exam-tips-on.html" title="Java Certification Exam Tips on Constructors" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/java-certification-exam-tips-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYBRHw-eSp7ImA9WxFbEkk.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-3387235476350398343</id><published>2010-07-04T04:49:00.000-07:00</published><updated>2010-07-04T04:49:15.251-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-04T04:49:15.251-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><title>Are You a Good Student?</title><content type="html">&lt;table width=350 align=center border=0 cellspacing=0 cellpadding=2&gt;&lt;tr&gt;&lt;td bgcolor="#EEEEEE" align=center&gt;&lt;br /&gt;
&lt;font face="Georgia, Times New Roman, Times, serif" style='color:black; font-size: 14pt;'&gt;&lt;br /&gt;
&lt;strong&gt;You Are a Great Student&lt;/strong&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td bgcolor="#FFFFFF"&gt;&lt;br /&gt;
&lt;center&gt;&lt;img src="http://www.blogthingsimages.com/areyouagoodstudentquiz/student-1.jpg" height="100" width="100"&gt;&lt;/center&gt;&lt;br /&gt;
&lt;font color="#000000"&gt;&lt;br /&gt;
You aren't afraid to crack the books when you need to, and you make your education a true priority.&lt;br /&gt;&lt;br /&gt;
You could become a PhD in anything, if you set your mind to it. There's no limit to what you can learn!&lt;br /&gt;
&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div align="center"&gt;&lt;a href="http://blogthings.com/areyouagoodstudentquiz/"&gt;Are You a Good Student?&lt;/a&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://www.blogthings.com"&gt;Blogthings: Quizzes and Tests and Memes, Oh My!&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-3387235476350398343?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h5jyVdG_321lyNogUfOJY2xFepk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h5jyVdG_321lyNogUfOJY2xFepk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h5jyVdG_321lyNogUfOJY2xFepk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h5jyVdG_321lyNogUfOJY2xFepk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/snhkRNLfwNI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/3387235476350398343/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=3387235476350398343" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3387235476350398343?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3387235476350398343?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/snhkRNLfwNI/are-you-good-student.html" title="Are You a Good Student?" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/are-you-good-student.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8GRHY4fip7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-3677744179960796958</id><published>2010-07-03T17:37:00.000-07:00</published><updated>2010-07-03T17:37:05.836-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T17:37:05.836-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>Term Exams Soon</title><content type="html">Come second week of July, students of my school will have to hurdle through their Prelims exams and this definitely mean paying again for their tuition, complying with term requirements and studying for all their enrolled subjects' exams.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can only feel for my students who have more than three subjects to juggle with because these subjects shall definitely require them to devote their time and resources. And, when they don't have good study habits, they can quite risk their grades.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I remember when I was still a student, I had to prepare for my major exams a week prior to exam dates to make me more comprehend the subjects and could relax during exam days. I had to endure long hours of deprived sleep, strained eyes from hard readings, and more hours for requirements and due projects that I looked quite lanky and dead. Good thing though that there are now de - stressors and medications like memory boosters and &amp;nbsp;&lt;a href="http://www.darkeyecircle.org/"&gt;under eye cream for dark circles&lt;/a&gt;&amp;nbsp; to make the toil less obvious. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But, nowadays, most students don't seriously study anymore and if they can find a way to make their exams easier, they will simply be happy to oblige to. I just hope that they can do well this coming exam as it entirely affects their semestral grades.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-3677744179960796958?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iWq7FpNtzcXBA9AYkCS2yefphb0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iWq7FpNtzcXBA9AYkCS2yefphb0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iWq7FpNtzcXBA9AYkCS2yefphb0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iWq7FpNtzcXBA9AYkCS2yefphb0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/vwQZyL4vojo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/3677744179960796958/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=3677744179960796958" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3677744179960796958?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/3677744179960796958?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/vwQZyL4vojo/term-exams-soon.html" title="Term Exams Soon" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/term-exams-soon.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcBRXo_cCp7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-4101268357615449008</id><published>2010-07-03T17:24:00.000-07:00</published><updated>2010-07-03T17:24:14.448-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T17:24:14.448-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><title>Another Java Constructor Sample</title><content type="html">When an object is defined, we can also access methods and fields. Below is another use of constructor and accessing instance variables for use.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;[+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
import java.io.*;&lt;br /&gt;
public class CircleQuiz {&lt;br /&gt;
double radius;&lt;br /&gt;
double area, diameter;&lt;br /&gt;
CircleQuiz()&lt;br /&gt;
{ radius=1;}&lt;br /&gt;
public static void main(String args[]) throws IOException{&lt;br /&gt;
&lt;br /&gt;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));&lt;br /&gt;
CircleQuiz x=new CircleQuiz();&lt;br /&gt;
String str;&lt;br /&gt;
double r;        &lt;br /&gt;
&lt;br /&gt;
System.out.println("use of Constructors:");&lt;br /&gt;
System.out.println("Default radius from a constructor: "+x.getRadius());&lt;br /&gt;
&lt;br /&gt;
System.out.println("New Input for radius:");&lt;br /&gt;
System.out.println("Input radius :");&lt;br /&gt;
r=Double.parseDouble(br.readLine());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if (r&amp;lt;=0)             r=x.radius;         x.setRadius(r);         System.out.println("Diameter "+x.computeDiameter(r));         System.out.println("Area"+x.computeArea(r));              }   double getRadius() {      return radius;}   void setRadius(double x) {  radius=x;}    double computeDiameter(double r ) {       double circleDiameter =r * 2;      return circleDiameter;}    double computeArea(double r ) {       double circleArea =3.14 * r * r;      return circleArea;} }  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-4101268357615449008?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mDyvGLBvwIcIklbAPxStR6za_eA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mDyvGLBvwIcIklbAPxStR6za_eA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mDyvGLBvwIcIklbAPxStR6za_eA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mDyvGLBvwIcIklbAPxStR6za_eA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/uIS3IenAcDQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/4101268357615449008/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=4101268357615449008" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4101268357615449008?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4101268357615449008?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/uIS3IenAcDQ/another-java-constructor-sample.html" title="Another Java Constructor Sample" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/another-java-constructor-sample.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8FSHYzeSp7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-4658082474612021130</id><published>2010-07-03T17:20:00.000-07:00</published><updated>2010-07-03T17:20:19.881-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T17:20:19.881-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures on life and living" /><title>Add-on Works Among Teachers but Unpaid</title><content type="html">Aside from serving the school for a school year,  public teachers do have to serve during election time and census works too. And, although they receive supplemental benefits from these, unfortunately, they have to long wait for their payments. Sigh! As a teacher, I can only lament of all the overworks but underpays we endure.&lt;br /&gt;
&lt;br /&gt;
Here's a news clip taken from ABS - CBN news page.&lt;br /&gt;
&lt;br /&gt;
&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/oZ4uxf9qm2U&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xd0d0d0&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/oZ4uxf9qm2U&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xd0d0d0&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-4658082474612021130?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CE8nV9oBen4zlj-sV5PadhXDVp4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CE8nV9oBen4zlj-sV5PadhXDVp4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CE8nV9oBen4zlj-sV5PadhXDVp4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CE8nV9oBen4zlj-sV5PadhXDVp4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/w7k7zvlfr38" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/4658082474612021130/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=4658082474612021130" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4658082474612021130?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/4658082474612021130?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/w7k7zvlfr38/add-on-works-among-teachers-but-unpaid.html" title="Add-on Works Among Teachers but Unpaid" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/add-on-works-among-teachers-but-unpaid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IGR3Y8fyp7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-6041653816691431910</id><published>2010-07-03T16:58:00.000-07:00</published><updated>2010-07-03T16:58:46.877-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T16:58:46.877-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="personal" /><title>Bonding with Students</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_C8YDWJwX6Vo/TC_MQRltbAI/AAAAAAAABVk/njDzGYX8x1Q/s1600/buddy3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_C8YDWJwX6Vo/TC_MQRltbAI/AAAAAAAABVk/njDzGYX8x1Q/s320/buddy3.JPG" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_C8YDWJwX6Vo/TC_MNGM-CUI/AAAAAAAABVc/kI3C1bzZmOc/s1600/with+student.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_C8YDWJwX6Vo/TC_MNGM-CUI/AAAAAAAABVc/kI3C1bzZmOc/s320/with+student.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div align="center"&gt;&lt;em&gt;Few pics with old students and my sibling, Tammy&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;
The thing with teaching in different schools over a span of a decade brings a lot of good and bad sides. For one, I get to meet different eccentric and subtle students and colleagues including administrators. And whenever I can, I try to hang out with them until they are no longer my students and I am out from their school.&lt;br /&gt;
&lt;br /&gt;
I remember joining them in their acquaintance parties, birthdays, proms, weddings, hikings among others and once in awhile, I get to bump with them in malls or in another city but they never fail to say hello and more. So, now that I am in another school, I only hold a lot of good memories with my old students including wacky pictures in my unit that I wish I can &lt;a href="http://www.smilebox.com/slideshows/"&gt;slide show&lt;/a&gt;&amp;nbsp; together with the rest of the nice pictures with friends and loved ones.&lt;br /&gt;
&lt;br /&gt;
Most of my students are already graduates and working themselves but they still give their greetings through a random message sent to my phone or to my online accounts and I can quite get touched.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-6041653816691431910?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wX5F5rLV_tk950lUKRhx9zrnGA0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wX5F5rLV_tk950lUKRhx9zrnGA0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wX5F5rLV_tk950lUKRhx9zrnGA0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wX5F5rLV_tk950lUKRhx9zrnGA0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/Rir4LLigwmM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/6041653816691431910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=6041653816691431910" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/6041653816691431910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/6041653816691431910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/Rir4LLigwmM/bonding-with-students.html" title="Bonding with Students" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_C8YDWJwX6Vo/TC_MQRltbAI/AAAAAAAABVk/njDzGYX8x1Q/s72-c/buddy3.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/bonding-with-students.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkACRnwyeCp7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-1847137531160735934</id><published>2010-07-03T16:46:00.000-07:00</published><updated>2010-07-03T16:46:07.290-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T16:46:07.290-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>Another Java Constructor with Static Methods</title><content type="html">It is possible that when we define methods to be static, we can access them &amp;nbsp;using classname.methodname() format.&lt;br /&gt;
&lt;br /&gt;
The program below is the other version of &lt;a href="http://www.teeachertechiesays.com/2010/07/another-java-constructor.html"&gt;this&lt;/a&gt; &amp;nbsp;program.&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;  [+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
public class Householdv2 {&lt;br /&gt;
static   int numOccupants;&lt;br /&gt;
static   double annualIncome;&lt;br /&gt;
Householdv2()&lt;br /&gt;
{ numOccupants=1;&lt;br /&gt;
annualIncome=0;}&lt;br /&gt;
public static void main(String args[]) throws IOException{&lt;br /&gt;
&lt;br /&gt;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));&lt;br /&gt;
//Household x=new Household();&lt;br /&gt;
String str;&lt;br /&gt;
int numOcc;&lt;br /&gt;
double xincome=0.0;&lt;br /&gt;
&lt;br /&gt;
System.out.println("use of Constructors:");&lt;br /&gt;
System.out.println("Number of Occupants "+Householdv2.getOccupants());&lt;br /&gt;
System.out.println("Annual Income"+Householdv2.getIncome());&lt;br /&gt;
&lt;br /&gt;
System.out.println("After Use:");&lt;br /&gt;
System.out.println("Input number of occupants :");&lt;br /&gt;
numOcc=Integer.parseInt(br.readLine());&lt;br /&gt;
&lt;br /&gt;
System.out.println("Input Annual Income: ");&lt;br /&gt;
str=br.readLine();&lt;br /&gt;
xincome=Double.parseDouble(str);&lt;br /&gt;
&lt;br /&gt;
Householdv2.setOccupants(numOcc);&lt;br /&gt;
Householdv2.setIncome(xincome);&lt;br /&gt;
&lt;br /&gt;
if (numOcc&amp;lt;=0)             Householdv2.numOccupants=1;         if (xincome&amp;lt;0.0)             Householdv2.annualIncome=0.0;                  System.out.println("Number of Occupants "+Householdv2.getOccupants());         System.out.println("Annual Income"+Householdv2.getIncome());              }   static double getIncome() { return annualIncome;}   static void setOccupants(int x) {  numOccupants=x;}   static double getOccupants() { return numOccupants;}    static void setIncome(double x) {  annualIncome=x;}   }        &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-1847137531160735934?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gNhKnqxHmOAKcWEi0uMLBCU2sCg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gNhKnqxHmOAKcWEi0uMLBCU2sCg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gNhKnqxHmOAKcWEi0uMLBCU2sCg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gNhKnqxHmOAKcWEi0uMLBCU2sCg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/2V1jlkrJ5UE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/1847137531160735934/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=1847137531160735934" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1847137531160735934?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/1847137531160735934?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/2V1jlkrJ5UE/another-java-constructor-with-static.html" title="Another Java Constructor with Static Methods" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/another-java-constructor-with-static.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIAQ3ozcCp7ImA9WxFbEk0.&quot;"><id>tag:blogger.com,1999:blog-8871054825192543415.post-2119767173410194737</id><published>2010-07-03T16:42:00.000-07:00</published><updated>2010-07-03T16:42:22.488-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-03T16:42:22.488-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="source codes" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="sample programs" /><category scheme="http://www.blogger.com/atom/ns#" term="lectures" /><title>Another Java Constructor</title><content type="html">As posted about Java's constructors, it can be used to initialize variables but may be later replaced by new values.&lt;br /&gt;
&lt;br /&gt;
See sample program.&lt;br /&gt;
&lt;a href="javascript:void(0);" onclick="expandcollapse('DOMYT')"&gt;  [+/-] show/hide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="texthidden" id="DOMYT"&gt;&lt;br /&gt;
&lt;br /&gt;
import java.io.*;&lt;br /&gt;
public class Household {&lt;br /&gt;
int numOccupants;&lt;br /&gt;
double annualIncome;&lt;br /&gt;
Household()&lt;br /&gt;
&amp;nbsp; { numOccupants=1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; annualIncome=0;}&lt;br /&gt;
&lt;br /&gt;
public static void main(String args[]) throws IOException{&lt;br /&gt;
&lt;br /&gt;
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));&lt;br /&gt;
Household x=new Household();&lt;br /&gt;
String str;&lt;br /&gt;
int numOcc;&lt;br /&gt;
double xincome=0.0;&lt;br /&gt;
&lt;br /&gt;
System.out.println("use of Constructors:");&lt;br /&gt;
System.out.println("Number of Occupants "+x.getOccupants());&lt;br /&gt;
System.out.println("Annual Income"+x.getIncome());&lt;br /&gt;
&lt;br /&gt;
System.out.println("After Use:");&lt;br /&gt;
System.out.println("Input number of occupants :");&lt;br /&gt;
numOcc=Integer.parseInt(br.readLine());&lt;br /&gt;
&lt;br /&gt;
System.out.println("Input Annual Income: ");&lt;br /&gt;
str=br.readLine();&lt;br /&gt;
xincome=Double.parseDouble(str);&lt;br /&gt;
&lt;br /&gt;
x.setOccupants(numOcc);&lt;br /&gt;
x.setIncome(xincome);&lt;br /&gt;
&lt;br /&gt;
if (numOcc&amp;lt;=0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; x.numOccupants=1;&lt;br /&gt;
if (xincome&amp;lt;=0.0)&lt;br /&gt;
&amp;nbsp;            &amp;nbsp; x.annualIncome=0.0;&lt;br /&gt;
System.out.println("Number of Occupants "+x.getOccupants());&lt;br /&gt;
System.out.println("Annual Income"+x.getIncome());              }&lt;br /&gt;
&lt;br /&gt;
double getIncome()&lt;br /&gt;
&amp;nbsp; &amp;nbsp;{ return this.annualIncome;}&lt;br /&gt;
void setOccupants(int x)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;{  this.numOccupants=x;}&lt;br /&gt;
double getOccupants()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; { return this.numOccupants;}&lt;br /&gt;
void setIncome(double x)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {  annualIncome=x;}   }       &amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8871054825192543415-2119767173410194737?l=www.teeachertechiesays.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sGq-ZibTTo5KL9mmkzFKetpL6VM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sGq-ZibTTo5KL9mmkzFKetpL6VM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sGq-ZibTTo5KL9mmkzFKetpL6VM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sGq-ZibTTo5KL9mmkzFKetpL6VM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/teeachertechiesays/rRkG/~4/js9qh3V-w8w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.teeachertechiesays.com/feeds/2119767173410194737/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8871054825192543415&amp;postID=2119767173410194737" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/2119767173410194737?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8871054825192543415/posts/default/2119767173410194737?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/teeachertechiesays/rRkG/~3/js9qh3V-w8w/another-java-constructor.html" title="Another Java Constructor" /><author><name>ROSILIE</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11698346461237050324" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.teeachertechiesays.com/2010/07/another-java-constructor.html</feedburner:origLink></entry></feed>
