Monday, September 19, 2011

SOME IMPORTANT LINES ABOUT JAVA CONSTRUCTOR



1) Constructors can use any access modifier, including private. (A private
constructor means only code within the class itself can instantiate an object
of that type, so if the private constructor class wants to allow an instance
of the class to be used, the class must provide a static method

2) It's legal (but stupid) to have a method with the same name as the class,
but that doesn't make it a constructor. If you see a return type, it's a method
rather than a constructor.

3) If you don't type a constructor into your class code, a default constructor will
be automatically generated by the compiler.

4) The default constructor is ALWAYS a no-arg constructor.

5) If you want a no-arg constructor and you've typed any other constructor(s)
into your class code, the compiler won't provide the no-arg constructor (or
any other constructor) for you. In other words, if you've typed in a constructor
with arguments, you won't have a no-arg constructor unless you type it in
yourself !

6) Every constructor has, as its first statement, either a call to an overloaded
constructor (this()) or a call to the superclass constructor (super()), although
remember that this call can be inserted by the compiler.

7) Interfaces do not have constructors. Interfaces are not part of an object's
inheritance tree.

8) The only way a constructor can be invoked is from within another constructor.
In other words, you can't write code that actually calls a constructor as
follows:
class Basic{

Basic()
{ } // constructor

void doStuff() {

Basic(); //constructor calling :illegal!

}
}

Sunday, September 18, 2011

STEPS TO BOOT YOUR WINDOWS XP FASTER



Boot Winxp Fast

Follow the following steps

1. Open notepad.exe, type "del c:\windows\prefetch\ntosboot-*.* /q" (without the quotes) & save as "ntosboot.bat" in c:\
2. From the Start menu, select "Run..." & type "gpedit.msc".
3. Double click "Windows Settings" under "Computer Configuration" and double click again on "Shutdown" in the right window.
4. In the new window, click "add", "Browse", locate your "ntosboot.bat" file & click "Open".
5. Click "OK", "Apply" & "OK" once again to exit.
6. From the Start menu, select "Run..." & type "devmgmt.msc".
7. Double click on "IDE ATA/ATAPI controllers"
8. Right click on "Primary IDE Channel" and select "Properties".
9. Select the "Advanced Settings" tab then on the device or 1 that doesn't have 'device type' greyed out select 'none' instead of 'autodetect' & click "OK".
10. Right click on "Secondary IDE channel", select "Properties" and repeat step 9.
11. Reboot your computer.

Friday, September 16, 2011

NOW ANDROID IS INSIDE INTEL


google's android will be optimized  for Intel Atom Processors

Intel has prototype for that .it is a intel-based android tablet, which may used as demo for the device manufacturers.


Thursday, September 15, 2011

MICROSOFT'S WINDOWS 8 SCREEN SHOTS







JAVA : Read IS-A and HAS-A relationship concept




IS-A

In OO, the concept of IS-A is based on class inheritance or interface
implementation. IS-A is a way of saying, "this thing is a type of that thing." For
example, a Mustang is a type of horse, so in OO terms we can say, "Mustang IS-A
Horse." Subaru IS-A Car. Broccoli IS-A Vegetable (not a very fun one, but it still
counts). You express the IS-A relationship in Java through the keywords extends
(for class inheritance) and implements (for interface implementation).

public class Car {
}
public class Subaru extends Car {
}

HAS-A

HAS-A relationships are based on usage, rather than inheritance. In other words,
class A HAS-A B if code in class A has a reference to an instance of class B. For
example, you can say the following,
A Horse IS-A Animal. A Horse HAS-A Halter.

The code might look like this:

public class Animal { }

public class Horse extends Animal {

    private Halter myHalter;
}

Wednesday, September 14, 2011

READ THIS ONE : some famous quotes of GANDHIJI on various issues


Gandhi on corruption
1. Capital as such is not evil; it is its wrong use that is evil. Capital in some form or other will always be needed.
2.I can retain neither respect nor affection for a government which has been moving from wrong to wrong in order to defend its immorality.
3.Corruption and hypocrisy ought not to be inevitable products of democracy, as they undoubtedly are today.
4.All compromise is based on give and take, but there can be no give and take on fundamentals. Any compromise on mere fundamentals is a surrender. For it is all give and no take.
5.There is a sufficiency in the world for man's need but not for man's greed.
6.You must not lose faith in humanity. Humanity is an ocean; if a few drops of the ocean are dirty, the ocean does not become dirty.
Gandhi on public affairs/ public life
1.Whatever you do will be insignificant, but it is very important that you do it.
2.Be the change you want to see in this world.
3.A Government that is evil has no room for good men and women except in its prisons.
4.Everything is done openly and aboveboard, for truth hates secrecy.
5.Good government is no substitute for self-government.
6.I believe that no government can exist for a single moment without the cooperation of the people, willing or forced, and if people suddenly withdraw their cooperation in every detail, the government will come to a standstill.
7.Rights that do not flow directly from duty well performed are not worth having.
8.The best politics is right action.
9.We may attack measures and systems. We may not, we must not, attack people. Imperfect ourselves, we must be tender toward others and slow to impute their motives.
10. A policy is a temporary creed liable to be changed, but while it holds good it has got to be pursued with apostolic zeal.
11.For me every ruler is alien that defies public opinion.
12.I suppose leadership at one time meant muscles; but today it means getting along with people.
13.Power is of two kinds. One is obtained by the fear of punishment and the other by acts of love. Power based on love is a thousand times more effective and permanent then the one derived from fear of punishment.

STEPS ABOUT HOW TO COMMIT IN SVN USING ECLIPSE




 Right click on your respective project in project windows



Then select team option > then select Synchronize with repository option


then it will display above dialogue > click on it.



then u your will get the synchronize explorer bar with your project in it
then go to your respective files > right click > commit. then it will show the windows as given below.
so u can write few comment for that file. and click ok.




if the file is new then it will show + on it. but if it on server and on your local and if there are changes then
it will not show u the + sign but there u need to update that file.
so right click  on that file and select the update.  and same way you will get the window as given above.

Thank You.

Tuesday, September 13, 2011

JAVA :READ SOMETHING IMPORTANT ABOUT INTERFACE

                         
      i)                    All interface methods are implicitly public and abstract. In other words,
you do not need to actually type the public or abstract modifiers in the
method declaration, but the method is still always public and abstract.

ii)                   All variables defined in an interface must be public, static, and final
in other words, interfaces can declare only constants, not instance variables

iii)                 Interface methods must not be static.

iv)           Because interface methods are abstract, they cannot be marked final,
strictfp, or native.

v)                  An interface can extend one or more other interfaces.

vi)                An interface cannot extend anything but another interface.

vii)              An interface cannot implement another interface or class.

viii)            An interface must be declared with the keyword interface.

ix)                  Interface types can be used polymorphically

SET CSS USING JAVASCRIPT





function setSCC(){
     
                var element=document.getElementById("add");                element.className='btn_disable'; 
                element.style.height="100px";
                element.style.width="200px";
                element.disable=true;


}




Note : Above function can get the element having id="add". and it will set its css class to "btn_disable" and will set it height and width as specified , as well as it will disable the button.
u should have the css included in your page.


common.css
--------------------


.btn_disable
{
      font-family: Arial;
font-size:10pt;
height:30px;
       background-color:gray;
      color:red;
}



Monday, September 12, 2011

SEE MISS UNIVERSE 2011



The 25-year-old Lopes is Angola's first winner. She beat out 88 other competitors to win the title during the 60th anniversary of the world's biggest beauty pageant. She replaces last year's winner, Ximena Navarrete of Mexico.
"Thank God I'm very satisfied with the way God created me and I wouldn't change a thing," Lopes said when asked her interview question. "I consider myself a woman endowed with inner beauty. I have acquired many wonderful principles from my family and I intend to follow these for the rest of my life."
The first runner-up was 23-year-old Olesia Stefanko of Ukraine and the second runner-up was Priscila Machado of Brazil. The third was Miss Philippines and the fourth Miss China.
Earlier, India's dry run at the Miss Universe contest continued as Vasuki Sunkavalli failed to make it to the final 16 at the Miss Universe 2011 contest here.
India hasn't won the crown since 2000. It was model-turned actress Lara Dutta who had won the crown for India in that year.
The 27-year-old Miss India was disappointed as she could not pose in her national costume because it was not delivered on time. Vasuki couldn't be shot in her national costume because it seems to have been held up for over a week at the Brazilian customs department.

JAVA CODE TO GET ALL MEMBERS (Variables, Methods) OF A CLASS


import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

class Testing{

int rollno;
String name;

public Testins(){}

public Testins(int num){}

public Testins(String str){}

public void displaData(){
}

public void intputData(){
}

}


public class ClassInfo {

  public static void main(String[] RK) {

    try {

      // Creates an object of type Class which contains the information of
      // the class Testing defines above.
      Class cl = Class.forName("Testing");

      // getDeclaredFields() returns all the constructors of the class.
      Constructor cnst[] = cl.getConstructors();

      // getFields() returns all the declared fields of the class.
      Field fld[] = cl.getDeclaredFields();

      // getMethods() returns all the declared methods of the class.
      Method mtd[] = cl.getMethods();
      System.out.println("Name of the Constructors of the String class");

      for (int i = 0; i < cnst.length; i++) {
        System.out.println(cnst[i].getName());
      }

      System.out.println("Name of the Declared fields");

      for (int i = 0; i < fld.length; i++) {
        System.out.println(fld[i].getName());
      }

      System.out.println("Name of the Methods");

      for (int i = 0; i < mtd.length; i++) {
        System.out.println(mtd[i].getName());
      }

    } catch (ClassNotFoundException e) {
      e.printStackTrace();
    }
  }

}

Friday, September 9, 2011

Wednesday, September 7, 2011

JAVA : WHAT IS JUST IN TIME COMPILER ?


In Java you have to write and compile a program only once. The Java on any platform will interpret the compiled bytecode into instructions understandable by the particular processor. However java virtual machine handles only one bytecode instruction at a time that makes execution slow. But Using the Java just-in-time compiler at the particular system platform compiles the bytecode into the particular system code. After the code has been (re-)compiled by the JIT compiler, it will usually run more quickly on the computer.  The just-in-time compiler comes with JVM and is used optionally. It compiles the bytecode into platform-specific executable code that is immediately executed. JIT compiler option should be used especially if the method executable is repeatedly reused in the code.

Friday, September 2, 2011

HOW TO OPEN NETBEANS PROJECT IN ECLIPSE ?


  1. Lets say you already have a NetBeans 4.0 project created called MyProject and located at \MyProject
  2. open NetBeans 4.0
    • open MyProject
    • Right click MyProject and select Clean Project (this deletes the build/classed and dist folders)
    • open the file project.properties located in the folder \MyProject\nbproject
    • change the build.dir to bin
    • change the build.classed.dir to ${build.dir}
    • save and close the file
    close NetBeans 4.0
  3. create a ZIP file of the \MyProject\MyProject.zip that will contain this folders:
    • nbproject
    • src
    • Any other folder or file that is located at \MyProject
  4. create a new folder \NEW (or your choice), this is were we are going to create the Eclipse 3.0.1 Project
  5. open Eclipse 3.0.1
    • go to Window, Open Perspective, Java
    • go to File, New, Project, Java Project
    • click NEXT
    • type MyProject
    • select Create project at external location
    • type \NEW\MyProject (this folder will be created by ECLIPSE)
    • select Create separate source and output folders
    • click NEXT
    • click FINISH
    • Right click on MyProject (at the Package Explorer)
    • select IMPORT
    • select ZIP file (usually the last option on the list)
    • click NEXT
    • BROWSE and look for the \MyProject\MyProject.zip created on STEP 3
    • click FINISH
    close Eclipse 3.0.1
  6. create a new folder \NEW\MyProject\dist(necesary for Netbeans 4.0)
  7. Now you can DECIDE when to work with Eclipse 3.0.1 or Netbeans 4.0

Wednesday, August 31, 2011

Java 7 FEATURES FOR DEVELOPER

Key new capability: Compiler optimizations for developer productivityDeveloper productivity also is aided in Java SE 7, via Project Coin, which adds language changes to simplify common programming tasks and reduce coding. It clarifies syntax and makes the code easier to read, says Austin User Group chief Ratcliff.
Project Coin's diamond syntax for constructor calls lets the compiler infer type arguments, and the try-with-resources statement helps the compiler make reliable code by automatically closing files, sockets, and database connections when developers forget to do this, Ratcliff says: "That's something that's been tripping up developers -- especially young developers -- for years. That'll be a good productivity improvement and will reduce bugs."
Key new capabilities: File I/O, graphics, and sound boosts"I'm particularly a fan of the NIO2 [file-system capabilities]," says Java founder Gosling. The new NIO2 capabilities provide an interface for working with file systems that can access more file attributes and offer more information about errors, Oracle's documentation says.
Java advocate Peter Lawrey, author of the Vanilla Java blog, cites Sockets Direct Protocol (SDP) capabilities as important for network file I/O. "SDP is really there to improve support for Infiniband," he says. Infiniband is a competitor to iSCSI that has been making some headway in virtualization environments.
Java SE 7 also features the XRender pipeline for 2D graphics rendering; it runs on top of the X Window system and can access modern graphics processors.
A new sound engine, called Gervill, enables multiple applications on Linux to play sound using Audio Synthesis Engine Project MIDI synthesizer.

ECLIPSE : HOW TO CALL JAVA FILE FROM ZUL FILE


See this image of Eclipse i have called EventController.java file from Events.zul file.

EventController.java-----------------------
package classes;
import java.util.List;
import org.zkoss.zul.*;
import org.zkoss.zk.ui.util.GenericForwardComposer;
import org.zkoss.zul.Listbox;

public class EventController extends GenericForwardComposer {
   
    /*
     *
     *
     */
   
    private static final long serialVersionUID = 1L;
    EventDAO eventDAO = new EventDAO();
    Event current = new Event();
    Listbox box;
    private Textbox name;
    private Intbox priority;

    public Event getCurrent() {
        return current;
    }

    public void setCurrent(Event current) {
        this.current = current;
    }

    public List getAllEvent() {
        return eventDAO.findAll();
    }

    public void onClick$add() {
        // insert into database       
        //System.out.println("CURRENT NAME : " + current.getName());
        //System.out.println("CURRENT NAME : " + current.getPriority());
        //Event newEvent = new Event(name.getText(), priority.getValue());
        eventDAO.insert(current);
    }

    public void onClick$update() {
        if (box.getSelectedItem() != null) {
            // update database
            eventDAO.update((Event) box.getSelectedItem().getValue());
        }
    }

    public void onClick$delete() {
        if (box.getSelectedItem() != null) {
            eventDAO.delete((Event) box.getSelectedItem().getValue());
        }
    }
   
}



તું મારી સાથે નહીં રમે ?


તું મારી સાથે નહીં રમે ? – હરિશ્ચંદ્ર


બાળપણમાં મારો સૌથી વહાલો ગોઠિયો હતો – મનુ. અમારા બાગના માળીનો, છ-સાત વર્ષનો મનુ ને હું સમોવડિયા હતા. એટલે અમે સાથે રમતા, સાથે ફરતા ને તોફાન-મસ્તીમાંયે સાથે જ રહેતા. અમારા બાગમાં ઘણાં બધાં ફળઝાડ હતાં. પણ ખોટ હતી માત્ર મીઠી દાડમડીની ! એમ તો દાડમડીઓ યે હતી – પણ ખાટી હતી, મીઠી ન હતી.

એક દા’ડો અમે નદીમાં નાહી રહ્યા હતા, તરી રહ્યા હતા ને એકમેક પર પાણી ઉડાડી રહ્યા હતા. ત્યારે મેં કહ્યું : ‘અલ્યા ચાલ ને, ઠાકોરના બાગમાં પેસીને મીઠાં દાડમ લઈ આવીએ.’
‘જા, જા. ઠાકોર તો મારી નાખે એવા છે.’ મનુએ ના પાડી.
‘પણ એ તો બંગલામાં હશે. એ ક્યાં જોવા આવવાના છે ?’ મેં સાતેક વર્ષની મારી બાળબુદ્ધિનું પ્રદર્શન કયું.
‘પણ તારો કાકો માળી તો ત્યાં હશે ને. ઠાકોરનો માળી તો એવો છે ! મારા બાપા કહેતા હતા…..’
‘મનુડા, તું તો બહુ બીકણ. એના કરતાં એમ કહે ને કે હું ડરું છું.’ મેં પાનો ચડાવ્યો. મારું મહેણું મનુના હાડોહાડ વ્યાપી ગયું. તેણે પડકાર ફેંક્યો, ‘કોણ ડરે છે તું કે હું ? ચાલ ત્યારે, તારે ય જોવું હોય તો.’

અને અમે ઊપડ્યા. તારની વાડ કૂદીને અમે બાગમાં ઘૂસી ગયા. હરણની જેમ ઝટપટ ઠેકડા મારતા અમે એક દાડમડી પર ચડી ગયા. ને મીઠાં મીઠાં દાડમ તોડવા માંડ્યા. કેટલાયે દા’ડાથી એ દાડમ પર અમારી નજર હતી. દાંતથી છોલીને મેં ખાવા માંડ્યું, ‘વાહ ! કેવું મીઠું છે ! આપણા બાગમાં છે, પણ કેવા ખાટાં !’ સારી પેઠે અમે દાડમથી ગજવાં ભર્યાં, ‘ચાલ, મનુ ! હવે જતા રહીએ. નહીં તો માળી આવી જશે,’ એમ કહું છું ત્યાં તો એક ભારે પંજો મારી પીઠ પર પડ્યો. મનુને પણ ગળેથી ઝાલ્યો હતો. અમે બંને રડવા લાગ્યા. અમારાં ખીસામાં દાડમ હતાં. બાગની સામે નદી ખળખળ કરતી વહી રહી હતી. નદીનું ચમકતું પાણી લહેરો લેતું નિર્ભયપણે મોકળા મને વહી રહ્યું હતું. ત્યારે અમે માળીના હાથમાં સપડાઈ ગયા હતા. અમને ચાવડીમાં પૂરી દેવામાં આવ્યા. આખા ગામમાં વાત પ્રસરી ગઈ. વર્ષો લગી નહીં બનેલો બનાવ બન્યો હતો ને !

એક કલાક થયો, બે કલાક વીતી ગયા, સાંજ પડવા આવી. ચાવડીની અંદર અમે રડી રહ્યા હતા. ત્યારે ચાવડીનું બારણું ઊઘડ્યું અને મારી બા રોતી-રોતી અંદર આવી. પાછળ મારા બાપુ હતા. લપક લઈને બાએ મને છાતીએ વળગાડી દીધો. ડૂસકાં ભરી-ભરી બા રડી રહી હતી – મારું મોં ચૂમી રહી હતી. હું યે રડી રહ્યો હતો ને મનુ યે. બાપુએ મારી આંગળી પકડી લીધી ને કહ્યું, ‘ચાલ , ઘેર ચાલ.’ હું બાપુજીની સાથે ધીરે ધીરે ચાલવા લાગ્યો. મનુ પાછળ પાછળ આવતો હતો. એકાએક બાપુના પગે ચીપકીને એ બોલી ઊઠ્યો, ‘કાકા, મને ય અહીંથી લઈ જાઓ ને !’
પાછા ફરીને બાપુએ એને લાત મારી. ધમ દઈને મનુ ભોંય પર પછડાયો. એ ફરી ઊભો થયો ત્યારે બાએ જોરથી તમાચો મારી તેને કહ્યું : ‘બદમાશ ! મારા છોકરાને ખોટે રવાડે ચડાવે છે. એને બૂરી લત શીખવે છે.’
‘તને ક્યારનું યે કહ્યું છે,’ બાપુ બાને વઢી રહ્યા હતા, ‘આવા જોડે છોકરાને રમવા ન દે પણ મારું સાંભળે તો ને !’
‘ડૉક્ટર સાહેબ,’ થાણેદાર બોલ્યો, ‘ઠાકોર સાહેબના ડૉક્ટર છો એટલે ! નહીં તો આપ જાણો છો કે બાગમાં ચકલુંયે નથી ફરકી શકતું !’

મને તો બાપુ લઈ આવ્યા. પણ મનુને માટે ચાવડીનો દરવાજો બંધ થઈ ગયો હતો ! રાત પડી ત્યારે મેં જોયું તો મનુ ઘેર આવી ગયો હતો. મને આશ્ચર્ય થયું. એના બાપની તો હિંમત નો’તી ચાલી. પણ એની બા ચાંદીનાં કડાં ગીરવે મૂકી, દસ રૂપિયા લઈ થાણેદાર કને ગઈ હતી અને મનુને છોડાવી લાવી હતી. મનુને મેં જોયો ત્યારે એ એની ખોલી પાછળ ગુલાબની ઘટા આગળ, ઊભો ઊભો કંઈક વિચારી રહ્યો હતો.

એને જોઈ હું રાજી થયો. હું દોડતો દોડતો એની પાસે ગયો ને એને બાઝી પડ્યો. મેં કહ્યું :
‘ચાલ, મનુ ! રમવા જઈએ.’
પણ મનુ ચૂપ રહ્યો. કશું યે બોલ્યો નહીં-ચાલ્યો નહીં. મેં લાલચ આપતાં કહ્યું, ‘ચાલ શરત બકીએ. પેલા ઝાડે દોડીને જે વહેલો પહોંચે તેને પાંચ પૈસા મળે.’ પાંચ પૈસા ! પાંચ પૈસા ! હરણ-ફાળે દોડતા મનુને માટે આ શરત રમતવાત હતી. એટલેસ્તો એકાદપળ એની આંખ ચમકી ગઈ. પણ પછી તરત એણે નન્નો ભણ્યો.
‘મનુ, પણે આંબા પર કેરીને બે સાખ લટકે છે. ચાલ ને લઈ આવીએ. એક તારી ને એક મારી.’
પણ તો યે મનુએ માથું ધુણાવ્યું.
‘ચાલ ત્યારે, મારે ઘેર. તને બિસ્કીટ આપું.’ એની તરફ મારો હાથ લંબાવતાં મેં સસંકોચ પૂછી નાખ્યું, ‘મનુ, તું મારી સાથે નહીં રમે ? તું મારો દોસ્તાર નથી ?’

મનુનો હાથ જરા આગળ લંબાયો પણ પછી પાછો ખેંચાઈ ગયો. બે-ત્રણ વાર એણે કંઈક કહેવાનો પ્રયાસ કર્યો. જીભ ઉપરતળે થતી હતી – પણ લોચો વળતો નો’તો. મહામહેનતે રૂંધાયેલા અવાજે આખરે તેણે કહ્યું : ‘ના ભાઈ ! તું રહ્યો દાક્તર સાહેબનો દીકરો ! ને હું માળીનો ! તારી ને મારી તે વળી દોસ્તી કેવી ?’ આટલું કહેતાં કહેતાં યે આંખમાં આવેલાં ઝળઝળિયાં લૂછતો એ હળવે રહીને પાછો વળ્યો ને ઘરમાં ભરાઈ ગયો.

(શ્રી કૃષ્ણચંદ્રની હિંદી વાર્તાને આધારે, ‘વીણેલાં ફૂલ’ પુસ્તક (યજ્ઞપ્રકાશન, વડોદરા)માંથી સાભાર.)

Query to retrieve all second highest salary employee records


Query to retrieve all second highest salary employee records
-------------------------------------------------------------
select * from employee where salary=(select max(salary) from employee where salary < (select max(salary) from employee));

Tuesday, August 30, 2011

SQL Query to retrieve second highest salary from table



select max(salary) from employee where salary < (select max(salary) from employee);

Monday, August 29, 2011

સમજ્યા કે નહિં? : Just give 5mins and read this artical friends

સમજ્યા કે નહિં?

(૧)
એક કાગડો એક ખૂબ ઊંચા ઝાડની છેક ઉપરની ડાળીએ બેઠો બેઠો આરામ કરતો હતો.
એટલામા એ ઝાડની નીચે એક સસલો આવ્યો. કાગડાને કંઈપણ કામકાજ કર્યા વગર આરામ
કરતો જોઈ એણે કાગડાને પૂછ્યું, “હું પણ તમારી જેમ કંઈપણ કર્યા વગર આરામ
કરી શકું?” કાગડાએ જવાબ આપ્યો, “કેમ નહિં?”
સસલાએ તો ખૂશ થઈ એ ઝાડની નીચે આરામથી લંબાવ્યું. થોડીવારમા તો એને ઊંઘ
આવી ગઈ. એટલામા ત્યાં એક શિયાળ આવી ચડ્યું, સસલાને મારી ને ખાઈ ગયું.

હવે તમે કંઈ સમજ્યા કે નહિં?
કંઈપણ કામ કર્યા વગર આરામ કરવો હોય તો તમારૂં કંપનીમાં ખૂબ ઉપરના પદ પર
હોવું જરૂરી છે!!

(૨)

એક આખલો અને એક કુકડો વાતો કરતા હતા. કુકડાએ કહ્યું, “મને પણ બીજા
પક્ષીઓની જેમ ઉડીને આ ઝાડની ટોચપર બેસવાનું મન થાય છે, પણ મારી પાંખોમાં
એટલું જોર નથી કે હું એટલે ઉંચે સુધી ઉડી શકું.”
આખલાએ કહ્યું, “મારા છાણમાં બહુ પ્રોટીન હોય છે, જો તું એ નિયમિત ખાય તો
તારી પાંખોમાં જોર આવશે અને તું ઉપર સુધી ઉડી શકીશ.”
કુકડાએ છાણ ખાવાનું શરૂ કર્યું. પહેલે દિવસે જ એ છેક નીચલી ડાળી સુધી
પહોંચી શક્યો. બીજા દિવસે એનાથી ઉપરની ડાળીએ જઈ બેઠો. થોડા દિવસમાં જ
ઝાડની સૌથી ઉપરની ડાળીએ પહોંચી ગયો.

એટલામા એક બંદૂકધારી શિકારી ત્યાંથી પસાર થતો હતો. ઝાડ ઉપર બેઠેલો કુકડો
એને સ્પષ્ટ દેખાતો હતો. એણે ગોલી ચલાવીને એને મારી નાખ્યો.

હવે તો તમે સમજી ગયા હશો!!
“Bulsheet થી તમે કોઈ કંપનીમાં ઊંચા ચડી શકો, પણ લાંબા સમય સુધી લાયકાત
વગર એ પદ ઉપર ટકી ન શકો !!!”
(૩)

ભર શિયાળામા એક નાનું પંખી ઉડતાં ઉડતાં ઠંડીથી થીજી જઈ એક ખેતરમાં
પડ્યું. એટલામાં ત્યાંથી એક ગાય પસાર થતી હતી. એના છાણનું એક પોદડું એ
પક્ષી ઉપર પડ્યું અને એ હુંફાળા છાણમાં ઢંકાઈ ગયું. થોડીવારમાં જ એના
શરીરમાં હુંફ આવી ગઈ અને એ ખુશ થઈને ગાવા લાગ્યું. ત્યાંથી એક બિલાડી
પસાર થતી હતી. ધ્યાન પૂર્વક સાંભળવાથી એ સમજી ગઈ કે અવાજ છાણના
પોદડામાંથી આવે છે. એ પંજાથી છાણ ખસેડીને પક્ષીને પકડીને ખાઈ ગઈ.

આમા તમે કેટલી વાતો સમજ્યા? આમા સમજવા જેવી ત્રણ વાતો છે.
(૧) કોઈ આપણા ઉપર કાદવ ઉડાડે તો હંમેશાં આપણો શત્રુ નથી હોતો.
(૨) કોઈ આપણને એ કાદવમાંથી બહાર કાઢે તો હંમેશાં આપણો મિત્ર નથી હોતો.
(૩) જ્યારે પણ તમે કાદવથી ખરડાયલા હો ત્યારે ચૂપ રહેવામાંજ મજા છે (નેતાઓએ ખાસ).


(૪)

એક સ્ત્રી એક “હોટએર બલુન”માં બેસી પોતાની બહેનપણીના ઘરે જવા નીકળી. એની
ગણત્રી પ્રમાણે એ એક કલાકમાં ત્યાં પહોંચી જવાની હતી. જમીનથી ઉપરની
ઉંચાઈએ એને દિશા સમજવામાં મુશ્કેલી પડવા લાગી અને એ ધારેલા ઠેકાણે
પહોંચસે કે નહિં એની પણ શંકા થવા લાગી. એણે નીચે નજર કરી તો રસ્તે જતો એક
માણસ દેખાયો. એણે બલુન નીચે લાવી, એ વ્યક્તિને પૂછ્યું, “આપ મને જણાવશો
કે હું અત્યારે ક્યાં છું?”
એ વ્યક્તિએ કહ્યું, “ તમે અત્યારે હોટએઅર બલુનમાં છો, જમીનથી દસ ફૂટની
ઉંચાઇ પર છો અને આ સ્થળ ૪૦ ડીગ્રી અક્ષાંશ અને ૭૧ ડીગ્રી રેખાંશ પર છે.”
સ્ત્રીએ કહ્યું, “તમે એંજીનિયર લાગો છો એટલે તમારી માહિતીતો ચોક્કસ હશે,
પણ મને એનાથી કોઈ મદદ મળશે નહિં.”
પેલા માણસે કહ્યું, “હા હું એંજિનીઅર છું, અને તમે M.B.A. છો.”

તમે સમજ્યા, એંજીનિયરે સ્ત્રીને તમે એમ.બી.એ. છો એમ કેમ કહ્યુ? નહિં
સમજ્યા તો એ એંજીનિયરની ભાષામાં જ સાંભળો.
“તમે તમારા મિત્રને ઘેર બધાની જેમ કાર લઈને જઈ શક્યા હોત, પણ એમ.બી.એ.
હોવાથી તમે હવામા ઉડો છો. તમે ક્યાં છો એ તમને ખબર નથી, અહીંથી આગળ કેમ
જવું એનીપણ તમને ખબર નથી. તમને સફળતાની પૂરી ખાત્રી ન હોવા છતાં હવાઈ
રસ્તો પસંદ કર્યો. તમે માની લીધું કે તમારી નીચેના માણસો તમને રસ્તો
બતાવસે. અને છેલ્લે નીચેના માણસને તમારી બાતમી ઉપયોગી નથી એમ કહેવામા તમે
જરાપણ વાર ન લગાડી.”