Question: Multiple-choice questions Select all things that are true about constructors 1;constructors are named after the class that they belong to 2:a constructor returns the values
Multiple-choice questions
Select all things that are true about constructors
1;constructors are named after the class that they belong to
2:a constructor returns the values of all instance variables in the object
3:constructors can not accept arguments
4:We don't include a return type when writing the header for a constructor
5:the constructor runs immediately after the object has been instantiated
Q2: When the JVM starts up, what is the first thing it must do
1:load the bytecode from the hard disk into the method area
2:load the bytecode from the hard disk into the stack area
3:destroy a stack frame
4:create a stack frame
Question 3:The Java Development Kit
1:contains the source code
2:contains the objects that are inside of the classes
3:contains the JRE and the Compiler
4:contains the bytecode for the compiler
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
