What is the output of the given code? final byte a = 12; final byte b = 5; System.out.println(a&b);
Correct Answer: 4
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
What is usually inside the WEB-INF folder of a typical Java Web Application?
Which one is a valid declaration of a boolean?
Output of following program? public class UpWork { private String freelancer; private boolean busy: public static void main(String[] args) { UpWork upw = new UpWork(); System.out.print('Busy= ' + upw.busy); System.out.print(', Freelancer = ' + upw.freelancer); } }
Which can be used to bind HTML form parameters into Java EE web service method?
Which annotation is used to prevent entity field from being saved into the database?
In Graphics class Which method is used to set the graphics current color to the specified color?
The following way is used to create a frame is by creating the object of Frame class?
In Graphics class which method is used to draws a rectangle with the specified width and height?
The Java Foundation Classes (JFC) is a set of GUI components which simplify the development of desktop applications?