[login to view URL] a Java application program to display the answers to all of the following 3 questions. Try to run the program. (upload the program only, could be in Word, or a text file or a .java file):
1.A Java method is called what in C/C++?
[login to view URL] is compiled into ________________________
[login to view URL] Java interpreter is called the ______________________
2. short num1, num2, mask;
// assume num1 has been assigned a number, doesn't matter what
Write Java statements using the above variables to assign bits in positions 4, 5, 6, and 7 of num1 (counting the left-most as bit 0) to num2, but in the least significant bits of num2 (bits in positions 12, 13, 14 and 15 of num2). Hints: shift num1 so bit 4 is in position 12, then use a mask of 0x000F and the correct bitwise operator to get the result specified.
3. Change the following C/C++ code to legal Java code:
int inum1=5, inum2=8;
while( inum1-- ){ // OK in C, NOT in Java
printf("%d", inum1);
} // end while
[login to view URL] the following incorrect Java code:
int inum1=10, inum2;
for(int i=0, inum2=inum1; i < inum2; ++i, --inum2){
[login to view URL]("i = " + i);
} // end for
[login to view URL]("The last value of inum2 = "+inum2);
[login to view URL] Java code to print (lined up in columns) numbers from 2 to 20, their squares and their cubes, using a for loop (declare variables for the number as an int, and the square and cube as doubles). Use [login to view URL] and right-justify the numbers.
HI
Contact me for an efficient, well documented and perfect
solution and development of your project. I ensure quality
work with always on time delivery of project and dedicated
support and follow up.
Thanks
Farah Saif
Hello sir,
I'm an expert in Java programming with 7-year experiences. I'm confident to handle this project for you with best results as I've done many many assignment projects before and I assure that it will make you have best score.
Thanks.
Hello Sir,
I have gone through your project requirements and we have highly skilled and qualified team who own all the right credentials to execute this job in a very proficient manner as per your exact requirement.
I am sincerely interested to discuss this Project with you, however to move forward I request you to please initiate to discussion so that I can reach you efficiently and can discuss the Project in more detailed manner. As I am having some doubts which I want to discuss with you .
Hello,
After reading the job description, what i understand is that you want Java programs that should solve all the 5 problems listed. Please let me know if that is correct and if so discuss further requirements for the specific programs.
Regards.
Bogdan