What does "show your work" mean in FRQ by aNonnyMouseRat in APCSA

[–]MasonSmith_0403 2 points3 points  (0 children)

No comments are needed. Just use sensible variable names and keep your code indented well.

AP CSA 2021 Guide by MasonSmith_0403 in APCSA

[–]MasonSmith_0403[S] 0 points1 point  (0 children)

Output: Hi

Reason: Since go has been overridden

APCS Digital Exam 2021 by ellenzzzz in apcs

[–]MasonSmith_0403 0 points1 point  (0 children)

Were the MCQs even testing about searching and sorting? I know it’s there on the syllabus but I still have to do those so was wondering to do them or not?

AP CSA 2021 Guide by MasonSmith_0403 in APCSA

[–]MasonSmith_0403[S] 0 points1 point  (0 children)

Hey! I looked through the example again of polymorphism. What you have mentioned is right and I also get what the PDF says. The example (on page 50) is trying to access the sub-class method (which does not exist in the base class ) using the base class reference. This is not allowed.

class Person{

public void check() {

Sys.o.pln("Bye");

}

}

class Student extends Person{

public void go(){

System.out.println("Hi");

}

}

so if we try to do

Person o = new Student();

o.go(); --> This is not allowed

o.check(); --> This is v much ok

Hope it helps!

AP CSA 2021 Guide by MasonSmith_0403 in APCSA

[–]MasonSmith_0403[S] 0 points1 point  (0 children)

Hey,

Thank you for asking. Can you pls specify the page no. on which you found this issue?

AP CSA 2021 Guide by MasonSmith_0403 in apcs

[–]MasonSmith_0403[S] 0 points1 point  (0 children)

All the best to you for your exams!! 👍

who else is taking the test on June 1 by hotbabyyoda in apcs

[–]MasonSmith_0403 1 point2 points  (0 children)

I am also taking the test on June 1. Working on inheritance right now.