• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in velmurugan's notes

 
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
he specifically says native methods can be abstract.
he's wrong. try it and see.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
who the ** cares about some velmurugan's notes? Stop reading those dumb notes instead read the JLS
Edited to remove the Vulgarity. Reading the JLS is an excellant recommendation however, any good reference should also be included

[This message has been edited by Carl Trusiak (edited February 04, 2001).]
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java stud clearly does not meet with our Naming Policy Reregister with a proper user name. It can benefit you read Book Giveaway

[This message has been edited by Carl Trusiak (edited February 04, 2001).]
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Notes can be helpful towards the end of preparing for the exam. You must check anything you are unsure about though. Even a typo like can instead of cant might occur.
 
Anshuman Acharya
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
of all the notes that i read, velmurugan's are the best and have given me the confidence to take the exam after only 3 weeks of preparation.
after all the chaos and irreverant vulgarity of all the discusion forums scattered over the net, javaranch is a very welcome change. i think guys like velmurugan who have gone through the pain of compiling notes for others deserve our utmost respect.
i had posted this mail just as a staement of a fact. it is presumptuous idiots like java stud(?) who spoil the mood and spirit of such forums.
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anshuman,
Thanks for your appreciation.
This is the piece from my notes (I guess) you're talking about.

abstract can appear with native declaration. This forces the entire class to be abstract.(obviously)


I thought this was correct, after seeing the explanation for one of the mock questions in KAM book(Question 15, Page 703, explanation in page 723). Now I guess not.
BTW, I'm able to compile a method declared with both abstract and native with a JDK 118 compiler, but JDK 1.3.0 gives an error(illegal combination of modifiers).
I checked the JLS, and here's a quote.(Same in JLS 1.0 and 2.0)


A compile-time error occurs if a native method is declared abstract.


So I guess JDK118 compiler didn't implement this, but the latest compilers fixed the bug. If anybody can verify this, that would be great.
Thanks for bringing it up and letting me know. I'll update my notes. Again many thanks for your appreciation.
Best regards.

------------------
Velmurugan Periasamy
Sun Certified Java Programmer
----------------------
Study notes for Sun Java Certification
http://www.geocities.com/velmurugan_p/
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have found Velmurugan's notes to be very useful, a few little mistakes arn't going to make or brake me after all if you've studied then you'll spot any major mistakes. I apreciate Velmurugan's efforts, I'mm a week from my test date and I'm glad to have some more consice notes!
JavaRanch is the best resource out there! Thanks for moderating it guys!
Lee
 
Velmurugan Periasamy
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the appreciation guys.
Best wishes.
------------------
Velmurugan Periasamy
Sun Certified Java Programmer
----------------------
Study notes for Sun Java Certification
http://www.geocities.com/velmurugan_p/
 
Anshuman Acharya
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i made it yesterday with 90%. not a small part of the credit goes to your notes, velmurugan. my sincere thanks.
just a note, a short section on io would have completed the picture. but the rest os the stuff was enough for one time!
thanks again.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Velmurugan,
Please ignore the people like Java Stud. Please don't stop answering the questions. I have read your notes, that was excellant.

[This message has been edited by venu gopal (edited February 08, 2001).]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anshuman,
Congrats on the 90% in SCJP, Can you give me an overview of how the exam is like. I have taken most of the mock exams on the web
and studied RHE, Exam cram.
My scores look like:
Easy exams 82-86%
Difficult ones 66-70%
How is sun's exam compared with popular mocks on the web and sample exams in the RHE, Exam Cram and Khalid's book
Would appreciate any comments.
Thanks,
Faisal.
 
reply
    Bookmark Topic Watch Topic
  • New Topic