Monthly Archives: June 2012

Google Drive

Google much talked cloud storage Google Drive is finally here. Integrated highly with Google docs and Gmail, it also has a dedicated app for desktop and mobile phone. Currently, it is in beta phase and offering 5 GB for freeto all users.

Here is the link where you can get the invite: https://drive.google.com/start

 

 

1 Comment

Filed under General

Change LinkedIn Account Password !

Change LinkedIn Account password now. In the recent hacking spree, a hacker posted around 6.5 Million passwords stolen from various sites including LinkedIn.

LinkedIn initially tried to deny the news that the compromised password contains its data. Now as a security measure they are asking users to change the password,so please do change the password don’t ignore the pop message.

Leave a comment

Filed under General

Oracle Java SE Critical Patch Update

Description
This Critical Patch Update Pre-Release Announcement provides advance information about the Oracle Critical Patch Update for June 2012, which will be released on Tuesday, June 12, 2012. While this Pre-Release Announcement is as accurate as possible at the time of publication, the information it contains may change before publication of the Critical Patch Update Advisory.

This Critical Patch Update is a collection of patches for multiple security vulnerabilities in Oracle Java SE. This Critical Patch Update contains 14 new security vulnerability fixes. Due to the threat posed by a successful attack, Oracle strongly recommends that customers apply Critical Patch Update fixes as soon as possible.

Affected Products and Components
Security vulnerabilities addressed by this Critical Patch Update affect the following products:

  1. JDK and JRE 7 Update 4 and earlier
  2. JDK and JRE 6 Update 32 and earlier
  3. JDK and JRE 5.0 Update 35 and earlier
  4. SDK and JRE 1.4.2_37 and earlier
  5. JavaFX 2.1 and earlier


Oracle Java SE Executive Summary
This Critical Patch Update contains 14 new security fixes for Oracle Java SE. 12 of these vulnerabilities may be remotely exploitable without authentication, i.e., may be exploited over a network without the need for a username and password.

The highest CVSS Base Score of vulnerabilities affecting Oracle Java SE is 10.0.

The Oracle Java SE components affected by vulnerabilities that are fixed in this Critical Patch Update are:

Java Runtime Environment

Leave a comment

Filed under Java

LG Optimus 4X HD smartphone Quad-core

The first quad-core smartphone from LG Electronics, the Optimus 4X HD, is now available for purchase in Europe, the company said on Monday.

The Optimus 4X HD joins the likes of Samsung Electronics’ Galaxy S III and HTC One X, which are also powered by quad-core processors and are already on sale in Europe.

1 Comment

Filed under General

Java Inner Classes

Four types of Inner classes:

  1. Inside the Class.
  2. Inside the Method.
  3. Anonymous Class.
  4. Static Inner Class.

1. So how exactly inner class look like:

class OuterClass
{
class InnerClass
{

}
}

2. So what will be the out put when we compile the class:

javac OuterClass.java

=> OuterClass.class
=> OuterClass$InnerClass.class

3. Modifiers applied to Inner Class:

-final,abstract,public,private, protected & static.

4. Modifiers applied to Inner Class in Method:

-final, abstract.

Class inside another class.

class OuterClass
{
private int x=200;

class InnerClass
{
private int ans;

public void getValue()
{
display();
System.out.println("Outer Class Value :"+x);
}
}

public void display()
{
System.out.println("Outer Class Display :");
}

public void accessInner()
{
InnerClass obj=new InnerClass();
obj.ans=500;

System.out.println("Inner Class Value :"+obj.ans);
}
}

public class Main
{
public static void main(String agrs[])
{
OuterClass outobj=new OuterClass();
OuterClass.InnerClass inobj=outobj.new InnerClass();

/*
* OuterClass.InnerClass inobj=new OuterClass().new InnerClass();
*/
inobj.getValue();

}
}

Class inside method.

class OuterClass
{
private int x=200;

public void innerClassMtd()
{
int rel=500;

//only final & abstract
class InnerClass
{
private int ans;

public void getValue()
{
System.out.println("Outer Class Value :"+x);
}
}

new InnerClass().getValue();
}
}

public class Main
{
public static void main(String agrs[])
{
OuterClass obj=new OuterClass();
obj.innerClassMtd();

}
}

Anonymous Class.

class OuterClass
{
public void display()
{
System.out.println("Outer Class");
}
}

class InnerClass
{
OuterClass obj=new OuterClass(){
public void display(){
System.out.println("Anonymous Class");
}
};
}

public class Main
{
public static void main(String agrs[])
{
InnerClass myobj=new InnerClass();
myobj.obj.display();

}
}

Static class inside another class.

class OuterClass
{
int rel=500;

static class InnerClass
{
public void display()
{
System.out.println("Inner Class");
}
}
}

public class Main
{
public static void main(String agrs[])
{
OuterClass.InnerClass obj=new OuterClass.InnerClass();
obj.display();
}
}

Leave a comment

Filed under Java