A Computer Class - Page 4

Created

Last reply

Replies

62

Views

4719

Users

15

Likes

137

Frequent Posters

mudraswathi thumbnail
Anniversary 12 Thumbnail Group Promotion 7 Thumbnail
Posted: 10 years ago

Originally posted by: ttrocks

The moment I read garbage collection analogy with ktlk loose ends in your post, I wrote this Mudraji... 🀣 What would you call me... πŸ˜† Totally gone case due to KTLK? πŸ€ͺ

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

import java.io.IOException;
import java.lang.*

public class KTLK
{    
    KTLK()
    protected void finalize()
    {
        System.out.println("Garbage Collection Performed");
    }
}//class KTLK ends

public class KTLK_SEASON_1
{
    public static void main(String[] args)
    {

int x =1;

while ( x >0)
{

        try
        {
            KTLK track = new KTLK();
            System.out.println("Call System.gc() when handling this track is no longer possible");
            track = null; // Breaking all the references to track
            Runtime.getRuntime().gc();
        }
        catch (Exception e)
        {
            System.err.println("Error: " + e.getMessage());
            e.printStackTrace();
        }
        finally
        {
            System.out.println("Program ran successfully!");
        }

x++;

}



    }//main() ends

}//class KTLK_SEASON_1 ends

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




🀣

I think KP ji used  an infinite loop that generates a new track and eventually pushes into garbage.

some think like bold and redπŸ˜†πŸ˜†


and finally some one had to call control+c to stop all this...


Edited by mudraswathi - 10 years ago
hkp11 thumbnail
Anniversary 12 Thumbnail Group Promotion 5 Thumbnail + 2
Posted: 10 years ago

Originally posted by: ttrocks

The moment I read garbage collection analogy with ktlk loose ends in your post, I wrote this Mudraji... 🀣 What would you call me... πŸ˜† Totally gone case due to KTLK? πŸ€ͺ

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

import java.io.IOException;
import java.lang.*

public class KTLK
{    
    KTLK()
    protected void finalize()
    {
        System.out.println("Garbage Collection Performed");
    }
}//class KTLK ends

public class KTLK_SEASON_1
{
    public static void main(String[] args)
    {
        try
        {
            KTLK track = new KTLK();
            System.out.println("Call System.gc() when handling this track is no longer possible");
            track = null; // Breaking all the references to track
            Runtime.getRuntime().gc();
        }
        catch (Exception e)
        {
            System.err.println("Error: " + e.getMessage());
            e.printStackTrace();
        }
        finally
        {
            System.out.println("Program ran successfully!");
        }
    }//main() ends

}//class KTLK_SEASON_1 ends

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



Awesome script Tupu! πŸ˜‰ 
hkp11 thumbnail
Anniversary 12 Thumbnail Group Promotion 5 Thumbnail + 2
Posted: 10 years ago

Originally posted by: mudraswathi




🀣

I think KP ji used  an infinite loop that generates a new track and eventually pushes into garbage.

some think like bold and redπŸ˜†πŸ˜†


and finally some one had to call control+c to stop all this...




Great one Mudra!  Yes, infinite loop to khatam nahi hote, to ctrl+c to karna hoga...like sometimes happens to me while scripting!  Aur hum KPji ka debug karte the! πŸ˜†πŸ˜†πŸ˜†


ttrocks thumbnail
Anniversary 11 Thumbnail Group Promotion 7 Thumbnail + 3
Posted: 10 years ago

Originally posted by: mudraswathi




🀣

I think KP ji used  an infinite loop that generates a new track and eventually pushes into garbage.

some think like bold and redπŸ˜†πŸ˜†


and finally some one had to call control+c to stop all this...


πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘ What an idea teacherjee!! Truly a master stroke!!

The way system's memory runs out executing an infinite loop; viewers' memory would also drain keeping track of "tracks gone beyond scope" and one day everything would crash!! 🀣🀣🀣🀣
🀣🀣
mudraswathi thumbnail
Anniversary 12 Thumbnail Group Promotion 7 Thumbnail
Posted: 10 years ago
Hello All

These are two nut  and gone cases after following KTLK...
Please ignore whatever they blabber



No idea what their real names are!!! But, forum calls them Mudra and Tupu!!!!
mudraswathi thumbnail
Anniversary 12 Thumbnail Group Promotion 7 Thumbnail
Posted: 10 years ago
True, Hina!!!

number of loose ends have incremented day by day and gone to infinity.πŸ˜†

pata nahi... ab KPji kya kar rahe honge...
shayad, inko neend mein bhi hichki aaraha hoga..hum itna yaad kar rahe hai..πŸ˜†πŸ˜†πŸ˜†


ttrocks thumbnail
Anniversary 11 Thumbnail Group Promotion 7 Thumbnail + 3
Posted: 10 years ago

Originally posted by: mudraswathi

Hello All

These are two nut  and gone cases after following KTLK...
Please ignore whatever they blabber



No idea what their real names are!!! But, forum calls them Mudra and Tupu!!!!


🀣🀣🀣🀣🀣🀣🀣🀣 Wonderful!! Thank you for putting this disclaimer!! 🀣🀣🀣🀣🀣

The images are too cute and apt!! πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘ Love them!! ❀️❀️❀️❀️❀️❀️
ttrocks thumbnail
Anniversary 11 Thumbnail Group Promotion 7 Thumbnail + 3
Posted: 10 years ago

Originally posted by: hkp11



Awesome script Tupu! πŸ˜‰ 


Thank you Hina!!πŸ˜ƒ
rayafan17 thumbnail
Anniversary 13 Thumbnail Group Promotion 8 Thumbnail
Posted: 10 years ago
Superb post Mudraji - garbage collection the bestest of the whole lot.
mudraswathi thumbnail
Anniversary 12 Thumbnail Group Promotion 7 Thumbnail
Posted: 10 years ago

Originally posted by: deepa17

Superb post Mudraji - garbage collection the bestest of the whole lot.



single line 😲... No way... comeup with your addition DeepaπŸ˜†

waise, thank you😊