<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by cyrusx</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Thu, 24 Sep 2026 15:46:28 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>passing array of object to a method</title>
            <link>http://forum.lowyat.net/topic/772367</link>
            <description>import java.util.*;&lt;br /&gt;&lt;br /&gt;class square&lt;br /&gt;{&lt;br /&gt;       public double length;&lt;br /&gt;	&lt;br /&gt;        //method that i need to code,this is the code i did	&lt;br /&gt;         public void input(square[] a1)&lt;br /&gt;        {&lt;br /&gt;		Scanner input=new Scanner(System.in);&lt;br /&gt;&lt;br /&gt;			System.out.println(&amp;quot;enter l :&amp;quot;);&lt;br /&gt;			a1[0].length=input.nextDouble();&lt;br /&gt;&lt;br /&gt;                        System.out.println(&amp;quot;enter 2 :&amp;quot;);&lt;br /&gt;			a1[1].length=input.nextDouble();&lt;br /&gt;&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class test&lt;br /&gt;{&lt;br /&gt;	public static void main(String[]args)&lt;br /&gt;	{&lt;br /&gt;&lt;br /&gt;		square[] s1=new square[2];&lt;br /&gt;		square data=new square();&lt;br /&gt;&lt;br /&gt;		data.input(s1);&lt;br /&gt;&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;refer to above code,the class &amp;quot;square&amp;quot;(without the &amp;quot;input&amp;quot; method) and class &amp;quot;test&amp;quot; is given,i am required to code the &amp;quot;input&amp;quot; method that read the the length....&lt;br /&gt;&lt;br /&gt;everything in the class test is given and no modification allowed&lt;br /&gt;&lt;br /&gt;in the &amp;quot;input&amp;quot; method that i code,the code can compile successfully,but when i run the program once i input the 1st &amp;quot;length&amp;quot; the program terminate with this message&lt;br /&gt;&lt;br /&gt;&amp;quot; exception in thread &amp;quot;main&amp;quot; java.lang.NullPointerexception&lt;br /&gt;  at square.input&amp;lt;test.java:12&amp;gt;&lt;br /&gt;  at test.main&amp;lt;test.java:26&amp;gt; &amp;quot;&lt;br /&gt;&lt;br /&gt;what is the problem with the above code?can help me correct the above code?</description>
            <author>cyrusx</author>
            <category>Codemasters</category>
            <pubDate>Thu, 21 Aug 2008 16:15:02 +0800</pubDate>
        </item>
        <item>
            <title>laptop cant connect when another pc is connected</title>
            <link>http://forum.lowyat.net/topic/596840</link>
            <description>yesterday noon,out of a sudden my msn couldnt connect to the internet,but i can still browse website normally though with a much slower speed...after trying some solution i get from googling,things getting worse i cant hardly have a webpage loaded after that...&lt;br /&gt;&lt;br /&gt;my laptop and my bro pc is connnected to a router modem,and both can go online without any prob until yesterday(mentioned above)..,after that i realize that my laptop can go online normally  when my bro pc is not connected to router.when  the pc connect to internet then my laptop no longer can online...also i noticed an internet gateway thingy in my bro pc,i wonder if that would have cause the problem or what...&lt;br /&gt;&lt;br /&gt;so what might be the problem here?how to troubleshoot and fix it?and how to disable the internet gateway...my laptop is running vista while my bro pc is on XP,there arent any problem until yesterday &lt;!--emo&amp;:help:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_question.gif' border='0' style='vertical-align:middle' alt='icon_question.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>cyrusx</author>
            <category>Networks and Broadband</category>
            <pubDate>Mon, 24 Dec 2007 03:27:02 +0800</pubDate>
        </item>
        <item>
            <title>laptop crash wif blue screen</title>
            <link>http://forum.lowyat.net/topic/513292</link>
            <description>2days ago while playing supreme commander it juz crash with blue screen stating that my hardware or software/system file  might have error and need to be restarted.after restart it will continue randomly crash with blue screen during the booting process or inside the windoe..the i dunno wat to do and leave it until the nex day,nex day everything seems ok but then on the third day it crash again.i suspect something might have gone wrong with my hardware part coz even when entering safe mode also it will crash...and i attempt to formatt but still it crash when i try to install window.i cant do anything now....cant boot into window cant reformat it it juz display bluescreen...&lt;br /&gt;&lt;br /&gt;what should i do?</description>
            <author>cyrusx</author>
            <category>Technical Support</category>
            <pubDate>Fri, 31 Aug 2007 16:48:57 +0800</pubDate>
        </item>
        <item>
            <title>MMU or UTM</title>
            <link>http://forum.lowyat.net/topic/475767</link>
            <description>i got an offer for computer science(graphic and multimedia software) in UTM.the course isnt my 1st choice,i wish to do a software engineering,but still computer science(graphic and multimedia software) isnt a bad course to take.&lt;br /&gt;&lt;br /&gt;now either i accept the UTM offer or go for software engineering in MMU&lt;br /&gt;&lt;br /&gt;so which university is better to do a IT course without taking the course fees into consideration?&lt;br /&gt;&lt;br /&gt;i need to pay 40k if i wanna study MMU where else i only need to pay 4k to study in UTM,its 10times the difference.so if i am taking MMU i have to take a loan to study.would it be a burden to pay the 40k loan after graduate?&lt;br /&gt;&lt;br /&gt;should i choose to pay 40k for what i want or pay only 4k for what i prefer less?&lt;br /&gt;&lt;br /&gt;any UTM student here preferably IT student,what you think about UTM,the lecturer the environment the facility?&lt;br /&gt;&lt;br /&gt;a few of my friends actually prefer MMU more then the local U they are offered(the course they get for ipta isnt exactly what they want but still consider not bad) but when taking the fees into consideration some of them will go for the less preferred ipta because its cheaper.</description>
            <author>cyrusx</author>
            <category>Education Essentials</category>
            <pubDate>Wed, 20 Jun 2007 13:19:45 +0800</pubDate>
        </item>
    </channel>
</rss>
