Follow The Author

Showing posts with label Java Tutorials. Show all posts

Sunday, 15 June 2014

Facebook...

No comments :
Facebook is an online social networking service. Its name comes from a colloquialism for the directory given to students at some American universities. Facebook was founded on February 4, 2004 by Mark Zuckerberg with his college roommates and fellow Harvard University students Eduardo SaverinAndrew McCollumDustin Moskovitz and Chris Hughes.The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to their high-school students. Facebook now allows anyone who claims to be at least 13 years old worldwide to become a registered user of the website, even though proof isn't required.
Users must register before using the site, after which they may create a personal profile, add other users as friends, exchange messages, and receive automatic notifications when they update their profile. Additionally, users may join common-interest user groups, organized by workplace, school or college, or other characteristics, and categorize their friends into lists such as "People From Work" or "Close Friends". In September 2012, Facebook had over one billion active users, of which approximately 9% were fake. In 2012, Facebook was adding about half a petabyte of data every 24 hours, amounting to about 180 petabytes per year.

An Updated Facebook News Feed

No comments :


Today we’re rolling out an updated look for News Feed so that desktop and mobile will look the same, making Facebook more consistent and easier to use across platforms.

You may recall that last year we experimented with a complete redesign of News Feedfor desktop and mobile. People who tested it told us that they liked the bigger photos and images, but found it more difficult to navigate Facebook overall. The updated design has the best of both worlds: it keeps the layout and navigation people liked, but offers bigger images and photos, as well as a new font. The current design on mobile remains the same.
Here’s what the updated News Feed looks like:


Java video tutorial youtube

No comments :



Click on blow link to get java video tutorial


http://www.youtube.com/watch?v=aWqmbSP-8Ws Java video tutorial youtube

Verified Java Tutorial

No comments :

Click on blow link to get Oracle Verified Java Tutorial


http://docs.oracle.com/javase/tutorial/java/ Click here







The Java™ Tutorials - Oracle Documentation

No comments :
Click on blow link to get java tutorials - Oracle Documentation


http://docs.oracle.com/javase/tutorial/ Click here




Saturday, 14 June 2014

Java Garbage Collection Mechanism

No comments :




Garbage collection is also called automatic memory management as JVM automatically removes the unused variables/objects (value is null) from the memory.

The purpose of garbage collection is to identify and remove objects that are no longer needed by a program. A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used. Every class inherits finalize() method from java.lang.Object, the finalize() method is called by garbage collector when it determines no more references to the object exists. Calling System.gc() and Runtime.gc(), JVM tries to recycle the unused objects
No guarantee that Garbage collection will start immediately upon request of System.gc().






Exception handling and Java exception classes’ inheritance hierarchy

No comments :

·        Hierarchical inheritance: It is a type of inheritance where one or more derived classes is derived from common (or one) base class. ex:

·        Exception Handling: Exception is an error event that can happen during the execution of a program and disrupts its normal flow. Java exception handling enables your Java applications to handle errors sensibly. Exception handling is a very important yet often neglected aspect of writing robust Java applications or components. When an error occurs in a Java program it usually results in an exception being thrown. How you throw, catch and handle these exception matters. There are several different ways to do so. Not all are equally efficient and fail safe.






“instanceof” operator

No comments :


A binary operator used to test if an object (instance) is a subtype of a given Type.

The instanceof operator allows you determine the type of an object. It takes an object on the left side of the operator and a type on the right side of the operator and returns a Boolean value indicating whether the object belongs to that type or not.

Multidimensional arrays

No comments :



A multidimensional array is a series of arrays so that each array contains its own sub-array(s). As an example, a spreadsheet with rows and columns having 6 rows and 5 columns holding 30 numbers
int[ ][ ] aryNumbers = new int[6][5];


“is a” and “has a” classes relationships

No comments :
     “is a” and “has a” classes relationships
There are two ways we can do code reuse either by implementation of inheritance (IS-A relationship), or object composition (HAS-A relationship).
·        IS-A Relationship:- The concept of IS-A is a totally based on Inheritance, which can be of two types Class Inheritance or Interface Inheritance. It is just like saying "A is a B type of thing". For example, Apple is a Fruit, Car is a Vehicle etc. Inheritance is uni-directional. For example House is a Building. But Building is not a House.
It is key point to note that you can easily identify the IS-A relationship. Wherever you see an extends keyword or implements keyword in a class declaration, then this class is said to have IS-A relationship.

·        HAS-A Relationship:- HAS-A simply mean use of instance variables that are references to other objects. For example: Suzuki has Engine, or House has Bathroom.

BEST FACEBOOK TRICKS 2014

No comments :

Facebook the worlds best social networking site no doubt it.We use facebook in daily life. we chat with our friends,share pictures,share videos and many more…to make facebooking more interesting  we can use manytricks in faebook.After my research i  listed the best facebook tricks below.go through the tricks once and use in your facebook.


Best Facebook Tricks

1.Trick to update blank status:

Now you can update your Facebook status as blank.first login to your Facebook account.
  • now enter @[3:3: ] in your status box if you want to update your blank status as long statement the paste the code again below the code just like below
                                         @[3:3: ]
                                         @[3:3: ]
                                         @[3:3: ]
                                         @[3:3: ]

2.Remove Facebook adds:

Remove Facebook adds by using Facebook cleaner
In the above photo you can see an arrow indicating towards some Adds by using facebook cleaner you can remove Annoying Facebook Adds.

3.Send free SMS:

yes you are right now you can send SMS from Facebook.there is no country restriction.your mesage sending is instant and takes only few seconds to reach destination.

  • enter the details and your message
  • you can send only 4 SMS per day of each limted up to 100 letters

4.Download facebook photo Album in a single click:

now you can download  facebook photo album with a single click,all you need is to just go to app namedFacebook2zip.com
check the process:
  • Step1: As soon as go the above app you are asked to Login with facebook just like in above picture
  • Step2: Now choose your friend from whom you want to download photo album you can see an arrow 2 pointing in the above picture
  • Step3: Now choose the album what you want to download
  • Step4: Just click Download button and save photo album to your desired location.

5.Download Facebook videos:

6.Create a Video with your Facebook pictures:

now can create a video with your facebook pictures it is so easy you can go to pixable.com and login with your facebook account.

7.Find who unfriend you on facebook:

8.Post your staus in all facebook groups at once:

  • it is easy to post your status on your wall.when comes you have to post status in all groups it takes much time and even it is hard task.by using simple app it is easy you can post in all facebook groups at once
  • Go to Multi post application and login with Facebook.
  • you can also use another app click here

9.Cool Facebook Memes:

10.Update status in BLUE color:

11.Watch live streaming:

Now you can watch live TV on your Facebook.there is a application which allows us to watch lots of international channels with free of cost.As i am cricket addict i watch live cricket match on facebook with chating my friends
App you can use: WATCH LIVE STREAMING

 12.Send Photos In chat box:

13.Facebook Pranks:

15. Disable SEEN Option in Facebook Chat

16.Save your account from hacking: Tips

Protect your facebook by hacking.Here we explained you some tips and tricks so that you can save your account from hacking.

17.Cool Facebook Chat tricks:

18. Visible Online for Whom You want:

Now you can visible online for whom you want.By using this trick you can chat with only with the persons whom you want.
  • Just go to Advanced chat settings by clicking on Gear icon below chat bar.
  • Then a pop up arises  just like below screen capture

  • Now click Turn On chat for Some Friends
  • Now add your friends in the options
  • finally click save option.
So that’s all for this post.soon i am going to write about  best facebook tricks-part 2.stay connected with us. don’t forget to like us on Fcaebook.
if i missed any best facebook trick let me know in the comments below.so that i will update them on my list.