Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Vinoo Varghese

Greenhorn
+ Follow
since Feb 02, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vinoo Varghese

HEY,
CONGRATS ...Cool Score,
Keep it up..
20 years ago
Hey Tony,
Don't lose hope...Always believe in urself.Come on,u can do it...
JUST REMEMBER : FAILURE IS THE STEPPING STONE TO SUCCESS.
REGARDS,
VINOO.
20 years ago
Sorry about the above messages...
Net connection was slow..
20 years ago
Hi Tony,
Don't despair.Things will work out fine.
Just remember:FAILURE IS A STEPPING STONE TO SUCCESS!!!
20 years ago
HI EVERYONE...
CLEARED JCP WITH 72% ON OCT 6TH.THANKS GO OUT TO EACH & EVERY PERSON IN JAVA RANCH,ESP. TO MAHA ANNA,JANE ,MARCUS GREEN AND A LOT OF OTHERS.
REGARDS,
VINOO.
20 years ago
I would like to suggest certain points which I think may be good for those writing the exam.

1. The first and foremost rule is "Believe In Yourself".
2. Be very thorough with the basics..

  1. Know the ranges of each data type.
  2. Know the keywords and identifiers.Know which all keywords can be used with other keywords(for eg.
    the fact that final and static can be used together whereas final & abstract can't be !!!.)
  3. Know about all the loops(for,if,continue,break etc) where can be break & continue used.
  4. Write codes involving switch(I had 2 questions),multiple for loops using break &continue
  5. Write codes involving (.equals) & (==),postfix & prefix operations,wrapper classes,strings &

    stringbuffers,overriding & overloading are very very imp,shift(left & right shifts,>>> etc).

  6. 3. Know about inner classes,threads,exceptions

    1. Where can inner classes can be used.
    2. What all modifiers an be used in inner classes(static & nonstatic),what variables of the enclosing
      class/methods can be accessed.
    3. Know about anonymous inner classes.
    4. Know about the different methods of threads(which all are static etc..),which can throw Exceptions etc..

    5. Write codes involving threads(got 6-7 questions in threads),synchronized methods,blocks.
    6. Know about the order of try,catch,finally blocks...throwing Exceptions in these blocks(Ques:Predict the
      output)

    7. 4. Know about awt,awt.event packages

      1. Study the hierarchy..(Component->Container->..etc)
      2. Know about the different constructors,methods of the classes.fields(especially those of the layouts),
        U can expect questions for eg:like what all fields are there in the gridbaglayout(anchor,gridx...etc)
      3. U may be asked about how will be the layout..after giving code involving different layouts
      4. Constructors of the different classes,methods,
      5. Study the hierarchy..(EventObject->AwtEvent->..etc)
      6. Study the hierarchy..(MenuComponent->MenuItem->..etc).

      7. 5. Know about files(If u know the constructors well...u can score full marks in this--got 6-7 questions)..

        1. Study the hierarchy..(OutputStream->..etc)
        2. Study the hierarchy..(InputStream->..etc)
        3. Study the hierarchy..(Reader->..etc)
        4. Study the hierarchy..(Writer->..etc)
        5. What are the constructors of Files,FileOutputStream,FileInputStream,Readers,Writers etc..
        6. Different modes possible in random access files.
        7. Predict the outputs.

        8. 6. Take a lot of mock exams and visit different sites..

          1. Visit Java Ranch .Post questions/doubts and participate in discussions.This will help u a lot.
          2. If possible,read all questions given at the end of chapters in Khalid Mughal's book.Also solve the
            mock exam given at the end of his book.
          3. Take mock tests of JQPlus,Barry Boone,Deepak,Abhilash(very good fundas..)
          4. Take all 3 exams of Marcus Green.

          5. 7. The day before the exam,have a good night's sleep.Select a good authorized examination center.
            8. Reach the examination center 30 minutes before the exam.
            9. Don't study books at the last moment.If possible,make short notes and just have a look at them.
            10. Be cool when you sit for the exam.Even if the first few questions are hard..don't let that bother you..
            11. Try to finish the exam and keep at least 30 minutes for reviewing the answers...especially notice questions
            involving main method and all!!!
            12. Last but not least,say a little prayer in whomever you believe.
            Regards,
            Vinoo.
            SUN CERTIFIED JAVA PROGRAMMER
20 years ago
I would like to suggest certain points which I think may be good for those writing the exam.

1. The first and foremost rule is "Believe In Yourself".
2. Be very thorough with the basics..

  1. Know the ranges of each data type.
  2. Know the keywords and identifiers.Know which all keywords can be used with other keywords(for eg.
    the fact that final and static can be used together whereas final & abstract can't be !!!.)
  3. Know about all the loops(for,if,continue,break etc) where can be break & continue used.
  4. Write codes involving switch(I had 2 questions),multiple for loops using break &continue
  5. Write codes involving (.equals) & (==),postfix & prefix operations,wrapper classes,strings &

    stringbuffers,overriding & overloading are very very imp,shift(left & right shifts,>>> etc).

  6. 3. Know about inner classes,threads,exceptions

    1. Where can inner classes can be used.
    2. What all modifiers an be used in inner classes(static & nonstatic),what variables of the enclosing
      class/methods can be accessed.
    3. Know about anonymous inner classes.
    4. Know about the different methods of threads(which all are static etc..),which can throw Exceptions etc..

    5. Write codes involving threads(got 6-7 questions in threads),synchronized methods,blocks.
    6. Know about the order of try,catch,finally blocks...throwing Exceptions in these blocks(Ques:Predict the
      output)

    7. 4. Know about awt,awt.event packages

      1. Study the hierarchy..(Component->Container->..etc)
      2. Know about the different constructors,methods of the classes.fields(especially those of the layouts),
        U can expect questions for eg:like what all fields are there in the gridbaglayout(anchor,gridx...etc)
      3. U may be asked about how will be the layout..after giving code involving different layouts
      4. Constructors of the different classes,methods,
      5. Study the hierarchy..(EventObject->AwtEvent->..etc)
      6. Study the hierarchy..(MenuComponent->MenuItem->..etc).

      7. 5. Know about files(If u know the constructors well...u can score full marks in this--got 6-7 questions)..

        1. Study the hierarchy..(OutputStream->..etc)
        2. Study the hierarchy..(InputStream->..etc)
        3. Study the hierarchy..(Reader->..etc)
        4. Study the hierarchy..(Writer->..etc)
        5. What are the constructors of Files,FileOutputStream,FileInputStream,Readers,Writers etc..
        6. Different modes possible in random access files.
        7. Predict the outputs.

        8. 6. Take a lot of mock exams and visit different sites..

          1. Visit Java Ranch .Post questions/doubts and participate in discussions.This will help u a lot.
          2. If possible,read all questions given at the end of chapters in Khalid Mughal's book.Also solve the
            mock exam given at the end of his book.
          3. Take mock tests of JQPlus,Barry Boone,Deepak,Abhilash(very good fundas..)
          4. Take all 3 exams of Marcus Green.

          5. 7. The day before the exam,have a good night's sleep.Select a good authorized examination center.
            8. Reach the examination center 30 minutes before the exam.
            9. Don't study books at the last moment.If possible,make short notes and just have a look at them.
            10. Be cool when you sit for the exam.Even if the first few questions are hard..don't let that bother you..
            11. Try to finish the exam and keep at least 30 minutes for reviewing the answers...especially notice questions
            involving main method and all!!!
            12. Last but not least,say a little prayer in whomever you believe.
            Regards,
            Vinoo.
20 years ago
<html>

Hi everyone.I would like to first of all inform you all that I cleared JCP with 72%.I would like to thank those

who have helped me(especially any one involved with JAVA RANCH).Special thanks go out to TVS who

actually inspired me & my colleague,Maha Anna whose explanations,exam links helped a lot,Abilash

whose questions were superb,Velmurugan whose notes were simply great( a must!!!),Marcus Green,Tony

Jane,and many others.Special thanks also go out to my colleagues who believed in me & gave a lot of support
I would like to suggest certain points which I think may be good for those writing the exam.



1. The first and foremost rule is "Believe In Yourself".

2. Be very thorough with the basics..

  1. Know the ranges of each data type.
  2. Know the keywords and identifiers.Know which all keywords can be used with other keywords(for eg.

    the fact that final and static can be used together whereas final & abstract can't be !!!.)
  3. Know about all the loops(for,if,continue,break etc) where can be break & continue used.
  4. Write codes involving switch(I had 2 questions),multiple for loops using break &continue
  5. Write codes involving (.equals) & (==),postfix & prefix operations,wrapper classes,strings &

    stringbuffers,overriding & overloading are very very imp,shift(left & right shifts,>>> etc).

  6. 3. Know about inner classes,threads,exceptions

    1. Where can inner classes can be used.
    2. What all modifiers an be used in inner classes(static & nonstatic),what variables of the enclosing
      class/methods can be accessed.
    3. Know about anonymous inner classes.
    4. Know about the different methods of threads(which all are static etc..),which can throw Exceptions etc..

    5. Write codes involving threads(got 6-7 questions in threads),synchronized methods,blocks.
    6. Know about the order of try,catch,finally blocks...throwing Exceptions in these blocks(Ques:Predict the

      output)

    7. 4. Know about awt,awt.event packages

      1. Study the hierarchy..(Component->Container->..etc)
      2. Know about the different constructors,methods of the classes.fields(especially those of the layouts),

        U can expect questions for eg:like what all fields are there in the gridbaglayout(anchor,gridx...etc)
      3. U may be asked about how will be the layout..after giving code involving different layouts
      4. Constructors of the different classes,methods,
      5. Study the hierarchy..(EventObject->AwtEvent->..etc)
      6. Study the hierarchy..(MenuComponent->MenuItem->..etc).

      7. 5. Know about files(If u know the constructors well...u can score full marks in this--got 6-7 questions)..

        1. Study the hierarchy..(OutputStream->..etc)
        2. Study the hierarchy..(InputStream->..etc)
        3. Study the hierarchy..(Reader->..etc)
        4. Study the hierarchy..(Writer->..etc)
        5. What are the constructors of Files,FileOutputStream,FileInputStream,Readers,Writers etc..
        6. Different modes possible in random access files.
        7. Predict the outputs.

        8. 6. Take a lot of mock exams and visit different sites..

          1. Visit Java Ranch .Post questions/doubts and participate in discussions.This will help u a lot.
          2. If possible,read all questions given at the end of chapters in Khalid Mughal's book.Also solve the

            mock exam given at the end of his book.
          3. Take mock tests of JQPlus,Barry Boone,Deepak,Abhilash(very good fundas..)
          4. Take all 3 exams of Marcus Green.

          5. 7. The day before the exam,have a good night's sleep.Select a good authorized examination center.

            8. Reach the examination center 30 minutes before the exam.

            9. Don't study books at the last moment.If possible,make short notes and just have a look at them.

            10. Be cool when you sit for the exam.Even if the first few questions are hard..don't let that bother you..

            11. Try to finish the exam and keep at least 30 minutes for reviewing the answers...especially notice questions

            involving main method and all!!!

            12. Last but not least,say a little prayer in whomever you believe.


            Regards,
            Vinoo.

            </html>
Hi everyone.Pls check out my comments about inner classes posted earlier.Pls do tell about any mistakes.
Thanks.
<html>
<pre>

Hi there..First of all,I would like to thank u all at Java ranch.U jave made learning a little bit easier.
I an writing my exam on Oct 6th.During my preparations,I made up a few pts. about inner classes.
I think they may be useful.
Pls do correct me if I am wrong..and pls remember me in ur prayers.
Adios mes amigos!!!

INNER CLASSES(PTS TO BE NOTED)
1) Package level classes
a) Accessibility modifiers: public or default(ie: if I give protected or private it gives an error)
b) Defines both static/non-static members.

2) Top level nested class(static)
a) Accessibility modifiers : can be any(ie even private is allowed).
b) Defines both static & non-static members.
c) No need for creating instance of enclosing class.
d) Can access only static members of enclosing class.
3) Non-static Inner class
a) Accessibility modifiers : Can be any(ie: even private is allowed).
b) Defines only non-static members(ie: if I declare a static variable in the inner class ,it shows an error).
c) We have to create an instance of the enclosing class.
Imp:
Suppose I have a top level class Strat ,and an inner class Dew:
I can only say new Strat().new Dew();
Suppose instance of Strat is s1 and instance of Dew is dew1
I can't say s1.dew1
d)Can access all members of enclosing class.

4) Local class(static) : block with static context (class within a method)
a) Accessibity modifiers : Can be only default(ie:no private/public/protected).
b) Defines only non-static members. (ie: if I declare a static variable in the inner class ,it shows an error)
c) No need for creating instance of enclosing class.
d) Only final variables of enclosing method are visible.
e) Can access only static members of the enclosing class.
5) Local class(non-static) block with no static context(class within a method)
a) Accesibility modifiers: Can be only default(ie:no private/public/protected).
b) Defines only non-static members. (ie: if I declare a static variable in the inner class ,it shows an error)
c) Need for creating instance of outer class
d) Only final variables of enclosing method are visible.
e) Can access all members of the enclosing class(whether it is static or not).
6) Anonymous inner classes (non-static)-Same as that of local class(non-static).
7) Anonymous inner classes(static) -Same as that of local class(static).

8) Classes declared within an interface
a)Accesibility modifiers: Can be only default or public(ie:no private/protected).
b) Defines both static & non-static members.
c) Can access both static & non-static variables(declared in interface)�
Of course, all variables declared in an interface are implicitily static.
</pre>
</html>
[This message has been edited by Vinoo Varghese (edited October 02, 2001).]
[This message has been edited by Thomas Paul (edited October 05, 2001).]