• 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Mock Ques -Chap2 K &B

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Drag and drop question ,7 of chap 2 in K &B
class AgedP
{
AgedP()
{}
public AgedP(int x){}
...

...

In 2nd constrctor ,i was thinking of answer as
pblic AgedP(int x){this();} ,when i solved thw Question.

Just added this(); //which is not wrong as this ,( ) , and ; are present in tiles(options),these can be used 0 or more times

So my Solution is also correct.
So my Question is ------------------
In Real exam ,will there be only 1 solution of dragdrop in the database.
like here ,i made a different ,and correct one
or we should always go for minimal use of tiles ,unless mentioned.
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic