Exam3

Question 1 of 1

  Time Left


0 [{"id":355759,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Which of the following are Java keywords that act as access modifiers and can be used in the definition of a class member? (choose three)","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":10,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355761,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"What is true about the method having the definition below?\nvoid f(char \u2026c){ \/\/ method body}","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":12,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355751,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Which of the following are true about the class constructor? (choose three)","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":2,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355756,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"What MUST all method definition have?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":7,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355762,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-10 21:09:41","questionName":"Given the following class definition , choose the answer that shows the correct definitions of the getter and setters for the two class attributes:Class USImmigrant{ String name; boolean terrorist; }","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":13,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355755,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Which of the following are considered to be members of a Java class ?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":6,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355752,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-10 21:04:54","questionName":"!!!!!!!!!!!!!!!!!Given the method definition below, what type of data may the programmer return from the method? long f(){ \/\/method body}","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":3,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355757,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-10 21:07:03","questionName":"Which pairs of method signatures show correctly overloaded methods?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":8,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355749,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"What is required of the value that is returned by a method\u2019s return statement(s)?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":0,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355754,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Which term refers to the data that an object contains?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":5,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355750,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Please choose the answer that matches each class member access level with its correct description:\n a. The class member is only accessible to the methods of that class.\n b. The class member is only accessible to classes with the same name as the class that declares the member\n c. The class member is only accessible to classes within the same package as the class that declares the member.\n d. Access to the class member is unrestricted.\n 1. public\n 2. default\n 3. private\n 4. protected","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":1,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355758,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"What is a reason for writing an overloaded method?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":9,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355753,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-10 21:05:34","questionName":"Which of the following is NOT a valid way to call the default constructor of a Java class named Test?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":4,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355760,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:34","questionName":"Which term describes what objects can do ?","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":null,"position":11,"explanation":null,"question_score_id":null,"lang":null,"questionAudioPath":null},{"id":355763,"quiz_id":"17832","answer_id":null,"answerType_id":"0","created_at":"2018-01-09 21:16:34","updated_at":"2018-01-09 21:20:45","questionName":"Given the following piece of code, how can method2() be invoked on line 3 ? (choose two)class Methods{ \/\/1 void method1(){ \/\/2 ????? \/\/3 } \/\/4 void method2(){} \/\/5 }\/\/6","questionTimeSeconds":"0","questionTimeMinutes":"10","questionImagePath":"uploads\/exam3\/315.PNG","position":14,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null}]
355759
0
600
block

Which of the following are Java keywords that act as access modifiers and can be used in the definition of a class member? (choose three)

Select the correct answer(s).  

(0/0)
















355761
0
600
none
355751
0
600
none
355756
0
600
none
355762
0
600
none
355755
0
600
none
355752
0
600
none
355757
0
600
none
355749
0
600
none
355754
0
600
none
355750
0
600
none
355758
0
600
none
355753
0
600
none
355760
0
600
none
355763
0
600
none