Skip to content
Maennche Software Development logo
  • Home
  • Marketing
    • Marketing – vCMO
  • Expertise
    • Development
      • Software Development
      • Salesforce Development
      • WordPress Plugin Development
      • Full-Stack Web Development
    • Automation
    • Business Coach
    • About Matthew Maennche
  • Blog
  • Solution Maps
    • C++ Solution Map
    • Java Solution Map
    • Python Solution Map
    • Visual Basic Solution Map
  • FAQ
  • Contact
  • Log In
×
  • Home
  • Marketing
    • Marketing – vCMO
  • Expertise
    • Development
      • Software Development
      • Salesforce Development
      • WordPress Plugin Development
      • Full-Stack Web Development
    • Automation
    • Business Coach
    • About Matthew Maennche
  • Blog
  • Solution Maps
    • C++ Solution Map
    • Java Solution Map
    • Python Solution Map
    • Visual Basic Solution Map
  • FAQ
  • Contact
  • Log In

QUESTION 1: Correct We hope you never have to encounter anything like the following expression in a program, but consider it for a moment and indicate its value: ( /* 5 + 3 */ – 9 + 6/*8*//2 ) //*+4*/ -10 A)3 B)-7 C)-6 D)5 E)-8

LANGUAGE: JAVA

CHALLENGE:

QUESTION 1: Correct We hope you never have to encounter anything like the following expression in a program, but consider it for a moment and indicate its value: ( /* 5 + 3 */ – 9 + 6/*8*//2 ) //*+4*/ -10

A)3

B)-7

C)-6

D)5

E)-8

SOLUTION:

C)-6

Posted in Java, Learn To Code

Posts navigation

← QUESTION 1: Correct Which of the following lines contains a valid comment? A) int twoPi = 3.14159; /* holds the value of two times pi */ B) int twoPi = 2*3.14159; /* holds the value of two times pi //* C) int twoPi = 2*3.14159; / / *holds the value of 6 //* D) double twoPi = 2*3.14159; /* // holds the value of two time pi */ [comment] // QUESTION 2: Correct Which of the following lines does NOT consist of (a) valid, though boastful, comment(s)? A) // /* This is a */ First Rate Program B) //**// This is a //**// First Rate Program //**// C) //* This is a //*// First Rate Program //*// D) /* This is a //*// First Rate Program //*//
QUESTION 1: Correct Which comment below is the most helpful? A) int volume; // declare an int B) int volume; // declare volume C) int volume; // declare volume to be an int variable D) int volume; // size of trunk in cubic feet →

Additional Resources

Account

Frequently Asked Questions

Privacy Policy

Terms and Conditions

Matthew Maennche logo icon

Get In Touch!

1216 E. Kenosha St Suite 273, Broken Arrow, OK 74012

(918) 352-6109

© 2017 - 2023 Maennche Software Development. All Rights Reserved.

Scroll To Top