Thứ Hai, 18 tháng 8, 2014

Accessing Private data of another class[Extreme logic program]

you all know very well java does'nt allow you to access private variables and methods outside the class.However ther is some loopholes in java "TO DO THIS".

consider a sample class:

private.java



public class privatedata {
    private void message()
    {
        System.out.print("This message was derived from private data");
    }
    private void message(String data)
    {
        System.out.print("your message is"+data);
    }

}

now am accessing private method from outside class "LETS ROCKZZZZ"

import java.lang.reflect.*;
public class accssingprivatedata {
    public static void main(String args[])
    {
        try
        {
            Class c=Class.forName("privatedata");
            Object obj=c.newInstance();
            Method m=c.getDeclaredMethod("message", null);
            m.setAccessible(true);
            m.invoke(obj, null);
        }
        catch (Exception e) {
            // TODO: handle exception
        }
       
    }

}




A simple java program to sort list of names of an array.

import java.util.Scanner;


public class namesort {
    public static void main(String []args)
    {
       
        Scanner sc =new Scanner(System.in);
        System.out.print("How many names you want to sort");
        int len=sc.nextInt();
        String names[]=new String[len];
        String temp=new String();   
        for(int i=0;i<len;i++)
        {

            System.out.print("enter "+i+"name");
            names[i]=sc.next();
           
        }
        //sorting data
        for(int outer=0;outer<names.length;outer++)
        {
            for(int inner=outer+1;inner<names.length;inner++)
            {
                if(names[outer].compareTo(names[inner])>0)
                {
                    temp=names[outer];
                    names[outer]=names[inner];
                    names[inner]=temp;
                }
               
            }
        }
        for(String s:names)
        {
            System.out.println(s);
        }
       
    }

}

Thứ Năm, 17 tháng 4, 2014

Rebtel Easter 2014 offer: Get ten times more credit (Pay 1 and get 10)


Get ten times more credit from Rebtel during this Easter holidays. You will pay 1 EUR/GBP/USD in your local currency and get ten times more credit. Rebtel is a reputed brand offering cheap international VoIP calling from your mobile using their android/iphone app or via access number.

Just as an indication, you will get 1250 minutes to India for just 1 GBP. This offer valid for new users only

Thứ Năm, 7 tháng 11, 2013

maimepin.com free $1 trial credit for international calls



It has been a long time since we have posted about free trial credits to make international calls. Today we will discuss about Maimepin which is a service by Boss revolution. You will be able to get $1 free trial credit without any credit card information. Read on for more details.


maimepin is offering $1 trial credit to try their services without any commitment or credit card information.

Thứ Hai, 28 tháng 10, 2013

Free call

Make free international phone calls from iPhone, Android, Windows or Blackberry

Yes you read it right. Today we are going to discuss about a Free mobile app which allows you to make free international calls using 3G/4G or WiFi from your smartphone. Read on for more details on Yuilop App.

Yuilop is a Mobile VoIP platform based app for smartphones. This app gives you free USA number and unlimited calling/SMS to USA. But wait that's not the only thing which is written in title of this post. With Yuilop you can make free international call to any country mobile/landline including INDIA.

Let see how to make free international calls from your iPhone, Android, windows or Blackberry smartphone
Install the Yuilop App
Register your real phone number
You can choose your USA phone number from available choices
Now you will receive a confirmation call to complete the setup
You will be given Unlimited free calls/SMS to USA and 25 credit points to make calls to other countries.

You can use this credit for making free international mobile VoIP calls and then just go to menu option in App and click on "Top up for Free" to get more free credit.

There are number of ways to earn free credit including refer a friend.So keep earning credits and make free calls right from your smartphone.
We have done Yuilop Review, voice quality was really good without any lag. Call gets connected almost instantly. Yuilop 100% worth a try.
Let us know if you get any issues in using the App or making free calls.


Thứ Ba, 22 tháng 10, 2013

BBM messenger service on your Android and iPhone devices

Yes, you heard that right! The immensely popular BBM messenger service is now officially available on cross platforms – Android and iOS.

A lot of rumors and wrong links went all over the internet pulling in many interested users. BlackBerry also warned users that the launch was not official yet. But today, company made the official launch to many users worldwide across stores. You can download

Thứ Ba, 8 tháng 10, 2013

FaceTime Audio: Cheap data calls between iOS 7 users



Apple launched iOS 7 few days ago and was an instant hit as many users switching to the latest version. Along the many features that iOS 7 launched, one feature has been a cause of concern to many other VoIP and telecom providers across the world is – FaceTime Audio.




Unlike FaceTime which only offered video calls amongst iOS users, FaceTime Audio enables apple users to make cheap audio