Tuesday, February 19, 2013

System.out.println() In Java?

 In Java, the dot operator can only be used to call methods and variables so we know that ‘out’ must be either a method or a variable. Now, how do we categorize ‘out’? Well, ‘out’ could not possibly be a method because of the fact that there are no parentheses – the ‘( )’ – after ‘out’, which means that out is clearly not a method that is being invoked. And, ‘out’ does not accept any arguments because only methods accept arguments – you will never see something like “System.out(5,6).println”. This means ‘out’ must be a variable.

We now know that ‘out’ is a variable, so we must now ask ourselves what kind of variable is it? There are two possibilities – it could be a static or an instance variable. Because ‘out’ is being called with the ‘System’ class name itself, and not an instance of a class (an object), then we know that ‘out’ must be a static variable, since only static variables can be called with just the class name itself. So now we know that ‘out’ is a static member variable belonging to the System class.

The fact that ‘println()’ is clearly a method, we can further classify ‘out’. We have already reasoned that ‘out’ is a static variable belonging to the class System. But now we can see that ‘out’ must be an instance of a class, because it is invoking the method ‘println()’.

When the JVM is initialized, the method initializeSystemClass() is called that does exactly what it’s name says – it initializes the System class and sets the out variable. The initializeSystemClass() method actually calls another method to set the out variable – this method is called setOut().

The more exact answer to the original question is this: inside the System class is the declaration of ‘out’ that looks like: ‘public static final PrintStream out’, and inside the Prinstream class is a declaration of ‘println()’ that has a method signature that looks like: ‘public void println()’.

Here is what the different pieces of System.out.println() actually look like:
//the System class belongs to java.lang package
class System {
  public static final PrintStream out;
  //...
}

//the Prinstream class belongs to java.io package
class PrintStream{
public void println();
//...
}

Tuesday, February 12, 2013

Valentine day special greetins























Scope of Static variables


Static variables cannot be elected for garbage collection while the class is loaded. They can be collected when the respective class loader (that was responsible for loading this class) is itself collected for garbage.


Monday, February 11, 2013

AP EAMCET 2013 Notification

AP EAMCET 2013 Notification Schedule www.apeamcet.org Online Apply AP EAMCET Application form
AP EAMCET
AP EAMCET

AP EAMCET 2013 Notification Schedule - AP EAMCET ( Engineering Agriculture and Medical Common Entrance Test ) Notification 2013 official released by Andhra Pradesh State Government This AP EAMCET conducted by JNTU (Jawaharlal Nehru Technology University ) Hyderabad. The large number of candidates are waiting for this AP EAMCET 2013 Notification. The very good news to this Notification applied Candidates. The EAMCET interested candidates are must qualified in Intermediate. The Intermediate Successfully completed Candidates are eligible for this year EAMCET. This Notification 2013-14 year official published at www.apeamcet.org. 

The Course are offered like B.E., B.Tech, B.Pharmacy, B.Sc Agriculture, B.Sc Horticulture in Engineering and Agriculture courses AND MBBS, BDS, D Phramcy etc. coursed in Medical course. 

This Courses interested candidates are fallow the AP EAMCET official website www.apeamcet.org to download the 2013 year AP EAMCET Online Apply Application form. The Application form submitted along with also paid fee Rupees 250/- paid at nearest E Seva OR AP online Centres. The Completer AP EAMCET Schedule 2013 details are given below. The Interested candidates are fallow the AP EAMCET 2013 Notification Schedule details.


AP EAMCET 2013 Notification Schedule
1For Engineering Entrance Test10-05-2013
10:00 AM to 01:00 PM
2For Agriculture & Medical Entrance Test 10-05-2013
10:00 AM to 01:00 PM
3AP EAMCET Online Application started15-02-2013
3Online Apply Application form Last date 
Without Late Fee
27-03-2013
4Late Fee with 500/-08-04-2013
5EAMCET Application Late Fee 1000/-17-04-2013
6Online Application Late Fee 5000/-27-04-2013
7Last Final Late Fee with 1000/-07-05-2013
8Official Websitewww.apeamcet.org

NOTE :- The AP EAMCET Online Apply Application form started on 15-02-2013.

This Notification is applied candidates are must have age is 17 years to 22 years, SC/ST Candidates upper age 25 years as on 31st December 2012. The AP EAMCET Official notification 2013 link is given below. The Applied candidates are must see the Instructions after then applied this Notification.


Official Website :- www.apeamcet.org

A JiBXException occurred while Unmarshal of request string

This is generally related to :

1. Might may be because of Jars mismatch i.e. There is a mismatch in the jar compilation versions

2. Jars are not builde properly i.e. some classes are missing while builidin Jars.

Valentines Gifts For Him 2013

While gifts for women are often more the focus on Valentine’s Day, men should not be forgotten. More than ever before, Valentines gifts for him are important in modern relationships. As a result, many women scramble to get the perfect gift to express their feelings toward their partners. Unfortunately for most, budget can interfere with what one really wants to get a loved one, but there are ways around that. Below, discover clever and memorable gift ideas to give on the day that Cupid shoots his bow. The most important thing to do is really pay attention to the desires, hobbies, and interests of your Valentine.
Personalized Gifts

Personalized gifts are fantastic for Valentine’s Day because they are a way to really be romantic. Personalization will also make just about any gift unique and special. Virtually anything can be personalized, with his name or yours, with a special photo of the two of you, or anything else you can think of. Personalized love books are great, as are frames, home goods, and countless other items. The possibilities are really limitless.
For The Wine Connoisseur
If you are fortunate enough that your significant other likes wine, finding him a great gift may not be too difficult. There is a massive market of goods that a wine lover would appreciate. You could give him a subscription to a great wine club, or buy him an incredible bottle from his favorite winemaker. Other possible gifts in this category include wine opening and storing accessories, aerators, or even a beautiful set of wine glasses and a decanter, of which most wine lovers can’t seem to have enough.
For The Outdoorsman
Many men enjoy activities in the great outdoors, including hiking, backpacking, and camping. Thankfully, there are all kinds of items to make these nature lovers that much more comfortable. Hiking gear is growing more popular every year, so you can go crazy finding cool devices in this category, even for the experienced hiker who seems to have everything.
For The Golfer
Gift giving for the golfer is easy regardless of budget. Your gift to him can be as small and affordable as monogrammed balls, tees, gloves, a putter, or as significant as a new set of golf clubs. Golf gifts are perfect for personalizing as well, as any golfer can use a personalized golf towel, club links, etc. Whatever you choose, he will think of you whenever he is on the course.
For The Sports Enthusiast
For a sports lover, take notice of the sports he likes to participate in and go from there. For a jogger, consider specific clothing designed just for that activity. For the boyfriend or spouse who prefers to sit on the sidelines and enjoy the games rather that participating in them, there are lots of opportunities to satisfy him as well. For instance, he may like to watch the football game while enjoying a beer or two. Consider giving him a gift to a beer of the month club that will allow him to taste different creations from micro-brewers, delivered to his door every month.
For The Gadget Lover
There is no doubt that many men absolutely love gadgets. You could get him a cool new toy or something more functional that he could use at work. Or, you could also take the accessories route. Whichever way you choose, gadgets are almost always a great gift idea for guys.
For The Fashion Conscious Man
With more and more men paying attention to their personal style and appearance, suave fashion accessories come to the rescue. Choose from scarves, gloves, hats, belts, or ties to complement his every look. Not only are they useful, but they are also a constant reminder of that someone special (you) who gave it to them.
Travel & Organizational Accessories
Men of all ages need them and use them, so they make for very wise gifts. This category could include bags, suitcases, wallets, passport holders, and dopp kits. These help guys stay organized and avoid them from losing important and expensive items. A briefcase or computer bag is another great idea, depending on his needs.
Jewelry
Jewelry is not necessarily just for women. Whether it is a ring or a fabulous necklace, there are many options for Valentines jewelry gifts for men. Choose from precious or semi-precious stones, gold, silver, platinum, and more. Watches and other timepieces would also fall under this category, all of which make incredible gifts.
His Favorite TV Series On DVD Or To Download
This is the perfect gift for the guy that loves a particular television show. It will last forever and he can enjoy it at any time. It is a great way to begin a collection, where you buy one season at a time, or all the available seasons at once if you can afford it.
Instead Of Gift Cards Or Cash…
As a change of pace from gift cards or cash, this is the perfect time to buy him gold for Valentine’s Day instead. With the current economic and political climate, inflation is likely on the horizon. If he is a financial or business type guy, he will appreciate your astuteness in economic matters. Valentine’s Day 2013 really is a great time to be buying gold. Plus, many guys love the idea of owning rare gold coins or bullion.
Lingerie
If you racked your brain and you are still struggling with what to get him, you can never go wrong with lingerie. Everyone wins when you buy Valentines Day lingerie. He gets to see his favorite girl looking sexy, and you get to keep the lingerie!
Regardless of the direction you decide to take, buying Valentines gifts for him doesn’t have to be a daunting task. Actually, it can be a lot of fun. The only thing to remember is to consider his personality and likes. If you keep those two things in mind, it can become easy. The more observant you are, the happier he’ll be, especially when he might be expecting the same old thing and you rock his world with the perfect gift that shows you know what he likes and you cared enough to notice.