Computer Science 221 Final Exam Questions And Answers
Computer Science 221 Final Exam Questions And Answers To distribute your application to different platforms, how many Java versions do you need to create? - ANS one version Which one of the following statements is true? - ANS Java has a huge developer community Which method is the starting point of all Java programs? (Just type the name of the method) - ANS main Fill in the blank to declare a method called "hello()". void _______ - ANS hello() Make this text a multi-line comment. /* some * comment text */ - ANS /* */ You can add a Java doc style comment by using: // characters in the beginning of the line. /* and */ characters to wrap a comment. // and */ characters to wrap a comment. /** and */ characters to wrap a comment. - ANS /** */ Which variable type would you use for a city name? String boolean int double - ANS String A class defines.. (choose two) Apples Behavior Attributes
Document information
- Uploaded on
- April 23, 2024
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers