Posts

Showing posts from February, 2013

JAVA BASIC DATA TYPYES

                                Java Basic Data Types Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables. There are two data types available in Java: Primitive Data Types Reference/Object Data Types Primitive Data Types: There are eight primitive data types supported by Java. Primitive data types are predefined by the language and named by a key word. Let us now look into detail about the eight primitive data types. byte: Byte data type is a 8-bit signed two's complement integer. Minimum value is -128 (-2^7) Maximum value is 127 (inclusive)(2^7 -1) Default value is 0 Byte data type is used to save space in large

JAVA OBJECT AND CLASSES

             Java - Objects and Classes Java is an Object Oriented Language. As a language that has the Object Oriented feature Java supports the following fundamental concepts: Polymorphism Inheritance Encapsulation Abstraction Classes Objects Instance Method Message Parsing In this chapter we will look into the concepts Classes and Objects. Object - Objects have states and behaviors. Example: A dog has states-color, name, breed as well as behaviors -wagging, barking, eating. An object is an instance of a class. Class - A class can be defined as a template/ blue print that describe the behaviors/states that object of its type support. Objects in Java: Let us now look deep into what are objects. If we consider the real-world we can find many objects around us, Cars, Dogs, Humans etc. All these objects have a state and behavior. If we consider a dog then its state is - name, breed, color, and the behavior is - barking, wagging, running If you compare the softwar

Java Basic Syntax

                               Java Basic Syntax When we consider a Java program it can be defined as a collection of objects that communicate via invoking each others methods. Let us now briefly look into what do class, object, methods and instant variables mean. Object - Objects have states and behaviors. Example: A dog has states-color, name, breed as well as behaviors -wagging, barking, eating. An object is an instance of a class. Class - A class can be defined as a template/ blue print that describe the behaviors/states that object of its type support. Methods - A method is basically a behavior. A class can contain many methods. It is in methods where the logics are written, data is manipulated and all the actions are executed. Instant Variables - Each object has its unique set of instant variables. An object's state is created by the values assigned to these instant variables. First Java Program: Let us look at a simple code that would print the words Hello Worl

Java Environment Setup

                   Java Environment Setup Before we proceed further it is important that we set up the java environment correctly. This section guides you on how to download and set up Java on your machine. Please follow the following steps to set up the environment. Java SE is freely available from the link Download Java. So you download a version based on your operating system. Follow the instructions to download java and run the .exe to install Java on your machine. Once you installed Java on your machine, you would need to set environment variables to point to correct installation directories: Setting up the path for windows 2000/XP: Assuming you have installed Java in c:\Program Files\java\jdk directory: Right-click on 'My Computer' and select 'Properties'. Click on the 'Environment variables' button under the 'Advanced' tab. Now alter the 'Path' variable so that it also contains the path to the Java executable. Example, if
                         Java - Overview Java programming language was originally developed by Sun Microsystems, which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems.s Java platform (Java 1.0 [J2SE]). As of December 08 the latest release of the Java Standard Edition is 6 (J2SE). With the advancement of Java and its wide spread popularity, multiple configurations were built to suite various types of platforms. Ex: J2EE for Enterprise Applications, J2ME for Mobile Applications. Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere Java is: Object Oriented : In java everything is an Object. Java can be easily extended since it is based on the Object model. Platform independent: Unlike many other programming languages including C and C++ when Java is compiled, it is not compiled into platform specific machine, rather into platform independent by

JAVA PROGRAMMING

        Many people mail me that i should write tutorial on java programming and i ask my self that why not giving this people what they want . Now i decided to write tutorial on java programing language , before we can do anything we need to  understand what is java and why java so important in programing language .                                      What is Java technology and why do I need it?  Java is a programming language and computing platform first released by Sun Microsystems in 1995. It is the underlying technology that powers state-of-the-art programs including utilities, games, and business applications. Java runs on more than 850 million personal computers worldwide, and on billions of devices worldwide, including mobile and TV devices. Why do I need Java? There are lots of applications and websites that won't work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to

5 secret spots on your woman that will drive her wil

5 secret spots on your woman that will drive her wil Last week, I posted a few articles about how to please a woman. Today, I'm going to be even more specific and discuss some little known areas of a woman that are very sensitive and can be very pleasurable, but most people don't know about. Of course you need to learn how to touch sensually, but if you do, these spots just may open a lot of doors of pleasure for your lady. So, without further ado, here are five sensitive areas on a woman, that will give her immense pleasure if you touch her right: 5. Inside of the elbow- very few people realize just how sensitive the inside area of joints are. The inside of the elbow is sensitive, but not as sensitive as #4..... 4. Inside of the knee- this is a very sensitive, sensual area. You can actually make a woman wet and ready for intercourse just by rubbing and licking the inside of her knee. Skeptical? Try it and thank me later. 3. Feet- what woman doesn't love a

USE AIRTES BIS TO BROWSE ON YOUR COMPUTER

How I Use Airtel BIS To Browse On My Computer Immediately I noticed that my Glo Blackberry subscription has stopped working on my iPad and computer, I pinged a friend of mine, to send me the settings and configuration to use on my internet modem for me to be able to browse on my PC using Airtel BB plan . He did and right now, am using Airtel Blackberry plan to browse on my PC. Without wasting much time, here is how I set it up: ==> I created a new profile on my Glo NetPro modem using with the settings below: Connection Name : Airtel BIS APN : internet.ng.airtel.com Username : internet Password : internet ==> I inserted my Airtel SIM card into my Nokia torchlight phone and recharged it with N1, 500 ==> I dialed  *440*4# to subscribe to Airtel Social Blackberry plan (costs N1,200/ month for 1GB) ==> After receiving a text message confirmation that I have been subscribed to Airtel Complete Social Blackberry service plan, I removed the SIM from my

Debate on Jonathan’s term diversionary, says Presidency

Image
Debate on Jonathan’s term diversionary, says Presidency • Defends non-assent to budget, Jonathan meets NASS • Caretaker panel not targeted at Obasanjo, PDP insists SINCE President Goodluck Jonathan is committed to fulfilling his mandate to Nigerians, he should not be distracted by the controversy over his eligibility for a second term or not, according to the Presidency. Besides, the Presidency Wednesday defended again the delay in assenting to the 2013 Appropriation Bill by Jonathan, saying the action was in the overall national interest. However, it acknowledged that consultations were ongoing with the appropriate stakeholders to resolve grey areas in the budget. Consequently, Jonathan last night held a meeting with the leadership of the National Assembly jointly led by the Senate President, David Mark and Speaker of the House of Representatives, Aminu Waziri Tambuwal. Dismissing the single-term debate as diversionary, Senior Special Assistant to the President

FOREIGNERS MOCK NIGERIA AFTER KIM KARDASHIAN IS PAID $500K FOR SECONDS ON STAGE CALLED HER A PORNSTER

Image
Foreigners Mock Nigeria After Kim Kardashian is Paid $500k for 50 Seconds on Stage called her a Pornstar   The mother-to-be was billed to 'co- host' the Love Like A Movie event with African R'n'B crooner Darey Art-Alade, for which tickets cost N100,000, or $640. But according to local reports, Kim stayed at the event for 45 minutes, making a 45-second statement on the microphone. Independent Nigerian TV station Channels Television reported: 'There were disappointments after Kim Kardashian came on stage for only 40 seconds.' The channel posted pictures of the smiling star wearing a black leather dress, posing alongside the performers including 2Face, Waje, Banky W, Ice Prince, Mo’Eazy and Zaina. Guardian blogger Jeremy Weate described how Kim's visit was an example of the country's economic elite 'blowing its money on bling puffery while most of the country suffers'. He wrote: 'M

Nani intervention a telling reminder

Image
Nani intervention a telling reminder A flamboyant Portuguese winger has occupied Manchester United's thoughts for weeks. Sadly for Nani, it has rarely been him. Yet, even if only for an evening, the Cristiano Ronaldo tribute act wrestled his compatriot out of the spotlight and swept United into the FA Cup quarter-finals. Now only Middlesbrough or Chelsea separate them from a trip to Wembley. PA Photos Nani slots past Adam Federici to set United on their way to the FA Cup quarter-finals Yet for three-quarters of the game, all the Treble hunters got was trouble. Holding Real Madrid was exhilarating, being held by Reading irritating. Then Nani intervened. A quick-fire double of goal and assist in the space of three minutes eliminated the obdurate Royals and, perhaps, rescued a wretched season personally. Sir Alex Ferguson held him responsible for United's exit from the Capital One Cup; now progress in the FA Cup was attributable to him. There were only six appearanc

Real-ly Madrid? Ronaldo up for sale

Image
Real-ly Madrid? Ronaldo up for sale GettyImages Could Cristiano Ronaldo be on his way out of Madrid? Could it really happen? Could Real Madrid really sell Cristiano Ronaldo? According to El Pais , the answer is 'yes' with Madrid considering the option of selling the Portuguese superstar after contract negotiations with the 28-year-old recently broke down. Los Blancos were reportedly prepared to offer Ronaldo a bumper new deal, worth a staggering €15 million and one that would bind him to the club through to the end of his career. But with negotiations at a standstill, and the former Manchester United player's contract due to expire in 2015, Madrid officials may take the risk of cashing in on one of their most valuable players. The question is: who could afford to buy him? Another former Red Devils player who could also be on the move is defender Mikael Silvestre, with reports suggesting the Frenchman is poised to join the Portland Timbers in North Ameri

Fury in Senate over alleged misuse of N873b solid minerals fund

Image
Fury in Senate over alleged misuse of N873b solid minerals fund • Alison-Madueke says domestic gas to replace kerosene in three years • Reps back upper chamber on Maina’s sack AN alleged misappropriation of N873 billion meant for the development of natural resources in the country drew the ire of senators Tuesday. The chamber faulted the procedure for processing the fund, disclosing that the money was not with the Solid Minerals Ministry and had been diverted to other sources outside solid minerals development. Also at the Senate Tuesday, the Minister of Petroleum Resources, Mrs. Diezani Alison-Madueke, said the use of kerosene for domestic purpose could be replaced within three years if the new Petroleum Industry Bill is signed into law. Giving highlights of the Petroleum Industry Bill before the Senate, the minister said the PIB would bring out the gas master-plan. According to her, the new regime would facilitate investment in gas, especially in domestic supply

Falcao: Staying at Atletico is the best option for me

Image
jumatoo blogsport Falcao:   Staying   at   Atletico   is   the   best   option   for   me The former Porto striker believes his current team can challenge for top honours in both Spain and in Europe, whilst he also hushed talk of a move to a more high profile club Radamel Falcao has suggested staying at Atletico Madrid would be the “best option” for him. The striker is hugely in-demand among the likes of Chelsea and Real Madrid, if reports are to be believed. However, this latest admittance from the Colombian attacker could scupper any plans for sides to bid for him in the summer. The 27-year-old arrived at the Liga club in 2011 from Porto, has continued to cement his status as one of the best forwards in the world, and hopes he can use his goals to help keep Atletico fi

Drama as Flying Eagles depart without coach

Image
Drama as Flying Eagles depart without coach Obuh alleges 13-month pay arrears A DRAMA ensued on Monday at the Nnamdi Azikiwe Airport, Abuja, where the national U-20 team, the Flying Eagles, departed for Egypt without Coach, John Obuh, who was nowhere near the airport as the players assembled to board a waiting Arik plane. The Flying Eagles are billed to play a two-leg friendly match against the Young Pharaohs of Egypt as part of the build up to the African Youth Championship (AYC). Obuh, who led the players and officials of the team to the airport from their Serob Hotel, Abuja, The Guardian gathered, quietly left the airport when the aircraft was about to take off in protest of his unpaid 13-month salary. Obuh’s absence delayed the plane’s takeoff as the crew and other officials of the team went in search of the coach, who refused to join the team. After the aircraft’s departure, Coach Obuh drove straight to the secretariat of the Nigeria Football Federation (NFF)

Why Bayern Munich are the club that Arsenal wish they could be

Image
Why   Bayern   Munich   are   the   club   that   Arsenal   wish   they   could   be Latest Wenger - Time has come to open up or shut up Next Martinez, Rodriguez, Moutinho & the Porto stars who Europe's giants will look to lure this summer 51 Since an almost inconceivable slump in 2007-08, die Roten have improved t