Question: Write a program in Java. Q1. Write a program in Java to display the following message. The professor said, Please don't sleep in class Q2.
Write a program in Java. 
Q1. Write a program in Java to display the following message. The professor said, Please don't sleep in class Q2. Write a program in Java to compute sum of two integers and display the result. Q3. Write a program in Java that computes sum of two octal integer constants (41 and 5) and display the result in decimal (result is 38). [study how to assign octal numbers to variable, if you have doubt you can ask me, but first try by yourself] Q4. Write a program in Java that computes sum of two hexadecimal integer constants (41 and 5) and display the result in decimal (result is 70). [study how to assign hexadecimal numbers to variable, if you have doubt you can ask me, but first try by yourself] Q5. Write a program in Java that calculates the area of a circle. a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
