• 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:

K&B Book not complete ???

 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was doing some mock exams at Dan's website and i encountered the following questions:



I can't find the theory about this subject. Am i needing better glasses or is it not in the book?

Same question for this question:

 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you explain your question clearly.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kishore Dandu:
can you explain your question clearly.



i encountered those 3 questions in the mock exams, but i can't find any explanation about them in the K&B book i am using.

so i was wondering: is this in the book or not? do we have to know it for scjp-exam?
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course you have to know this. Why don't you give it a try in your compiler
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two topics here:

The topic of inner interfaces is not on either the 1.4 or the 5.0 exam

The topic of initialization blocks is not on the 1.4 exam (hence it's not in the old edition of the book), but it IS in the 5.0 exam, (and it's in the almost-done-I-swear new version of the book).

hth,

Bert

p.s. I know that Dan has talked about his mocks, and some of them are designed to very closely match the topics on the exam, and some of them are designed to go past what's on the exam. If you're focused on the exam, you might want to find out which set is which
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's some good news, so both are not on the 1.4 exam and if i stick to the bible (k&b book, just love the little jokes in it ), i will not encounter any surprises on the exam (if i have good knowledge of every chapter) ?

and which chapters are the most important ones? the k&b book is talking about inner classes popping up in lots of questions, so that's one already.
 
Bert Bates
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most people say that threads, garbage collection and inner classes are probably the trickiest areas on the 1.4 exam.

hth,

Bert

p.s. We think we covered the exam topics pretty well - though a few people have said that they got a little extra threads material to study. We are beefing up (of course no cows were harmed) the threads chapter for the Java 5 version - and remember, for the Java 5 exam, none of the new threads stuff is on the exam.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the info

Monday will be Judgement Day
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the info....
but just to check for the 3rd question which roel had given
the output will be
SA
SB
CA
CB
Am I right ?
Please confirm.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, that output is correct: first static superclass, then static subclass, then constructor superclass and at least constructor subclass

if i memorized it right
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know if it's my level of english. But what means a interface that is a member of a directly enclosing class? I don't understand it.

It is the same to say a inner interface?

In general, the questions of the exam are linguistically easy? aren't they?
 
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic