Hello Friends, In this blog post(Core Java Interview Questions) I am going to let you know about a few more interview questions of core java which are related to naming conventions, data type, and operator in java.
Core java interview questions cover all the important questions of the topics mentioned above.
These core java interview questions are a great help to remember all the important highlights and important topics from each java chapter.
These interview questions will surely help to understand a few very confusing concepts in java.
What is the difference between float and double?
Float can represent up to 7 digits accurately after a decimal point, whereas double can represent up to 15 digits accurately after a decimal point.
What is the Unicode system?
Unicode system is an encoding standard that provides a unique number for every character, no matter what the platform, program, or language is. Unicode uses 2 bytes to represent a single character.
What are the positive and negative numbers represented internally?
Positive numbers are represented in binary using 1’s complement notation and negative numbers are represented by using 2’s complement notation.
What is the difference between >> and >>>?
Both bitwise right shift (>>) operator and bitwise zero-filled right shift operator(>>>) is used to shift the bits towards the right. The difference is that >> will protect the sign bit whereas the >>> operator will not protect the sign bit. It always fills 0 in the sign bit.
In the case of any queries, you can write to us at [email protected] we will get back to you ASAP.
So this was all about the Core java interview questions on this topic.
These Core java interview questions could be a great help in your college viva, academic study, and any job interview.
Hope! you would have enjoyed this post about Core Java Interview Questions Part 4/ naming conventions, data type, and operator in java.
Please feel free to give your important feedback in the comment section below.
Have a great time!