• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

SCJA Exam on Monday

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends I am going to write SCJA exam on monday, that thought making me nervous, actually i prepared McKenzie's both books SCJA study guide and SCJA questions guide, and did some mock exams on online, please tell me what else do i need to prepare to get good percentage in exam, thanks in advance.

soni madhuri.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you're on the right track!

Concentrate on the objectives, go over topics you struggle with. Compile a bit of code and run it - just some simple examples, but you need to know the basics with regards to syntax, so make sure you have your looping structures and conditional statements down.

If you have any questions before going in, post them, and I'll try to respond quickly!

Best of luck!

-Cameron McKenzie
 
soni madhuri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mckenzie, thanks for response actually i was little bit confused with -classpath, -version, -d, -D, -d is used with javac where as -D is used with java right, -classpath & -version are used with both javac and java right.

soni madhuri.
 
Cameron Wallace McKenzie
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup, I think you've got it.

Best thing to do is just open up a DOS prompt and compile and run a little HelloWorld.java program, and use those various options at the command line. Prove to yourself how each one works, and you won't forget it! I betcha that little exersice wouldn't take more than twenty minutes.

Good luck!

-Cameron
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Soni,
All the best for your exam!
From where have you purchased McKenzie's book in India? Are they available in Indian bookstores?
 
soni madhuri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends sorry i did'nt made i got just 66% i think so because of lack of practice its my fault, McKenzie your both books are really excellent, its my fault i did not pratice well, wish me better luck next time.

Hi Madhumitha i bought McKenzie's those 2 books from USA, now i am in vaction in india.
 
soni madhuri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1)which initialization compiles without errors

1)boolean b = 0;
2)float f = 3.40;
3)double d = 1000;
4)int j = 4;


my answer is 3 and 4, please can any one tell me what is correct answer?

2) javascript and html are not compiled. Is this correct?

3)methods in interfaces

1) puclic void myStar();
2) abstrat void myStar();
3) static void myStar();
4) void myStar();

are these 4 answers correct?

please can one answer to my questions please friends need help.

thanks in advance,
madhuri.
 
Ranch Hand
Posts: 710
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

soni madhuri wrote:1)which initialization compiles without errors

1)boolean b = 0;
2)float f = 3.40;
3)double d = 1000;
4)int j = 4;


my answer is 3 and 4, please can any one tell me what is correct answer?

2) javascript and html are not compiled. Is this correct?

3)methods in interfaces

1) puclic void myStar();
2) abstrat void myStar();
3) static void myStar();
4) void myStar();

are these 4 answers correct?

please can one answer to my questions please friends need help.

thanks in advance,
madhuri.



Before answering any of these I have to ask: where did you get these questions? Since you just took the exam I want to make sure you aren't posting questions from the exam, which is against JavaRanch policy.

In the mean time, a quick Google search should reveal the answer to #2, and I believe interfaces are convered in Cameron's books, so if you look in there for interface method declaration you should be able to figure out your question about methods in interfaces.
 
Cameron Wallace McKenzie
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Indeed, JavaScript and HTML are not compiled.

Always quote your question sources! And don't be afraid to start a new thread. You'll get answers much faster that way.

As for the code questions, just write some code! See what compiles and what does not. That's the best way to learn. Then, if something doesn't make sense, we'll help you out with the 'why'.

Good luck!
 
reply
    Bookmark Topic Watch Topic
  • New Topic