• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt  RSS feed

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Does the real exam test us to read the question carefully for unclosed brackets, missing semi colon etc in teh programs...as the mock exams doesn't test the same
Thx in advance
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my case, there's no question testing on this. It is more focus on the usage and concept of Java rather than syntax error.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question:
Can we expect tricky questions on the SCJP exam?
While taking the mocks i found lots of tricky ones. And i admit i was very disappointed. Trying to found out what a code do, the real problem was a tricky one hidden somewhare in the code....
example 1:
public class A{ /*lots of code*/}
public class B{ /*lots of code*/}
/// two public classes in same source file :-(
--------
example 2:
.....
if(false);
{
......
}
.....
// the code between the brackets will always get evaluated ... :-(. Didnt see the semicolon.
example 3:
private class A{ /*lots of code*/}
// didn't see the "private"
etc.etc.
atanas
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I think there will be tricky questions like the one mentioned
by Atanas Roussev, because the exam is all about testing the fundamentals of
java,so you need to be careful about it.
[ Note : Some of these questions were asked even in job interviews].
 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GUys,.....I need some more inputs to my question
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mary,
Although missing semicolons and the like might appear on the exam, they will not be the focus of the exam. It is important to keep an eye open for such things, but don't spend a ton of time on it.
Corey
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a choice of compile time error then you have to watch for the syntax of the code. Missing semicolon, spelling errors, illegal access modifiers etc etc will always make the compiler complain.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!