Core Java Interview Questions Part 4/ naming conventions, data type, and operator in java.

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 is related to naming conventions, data type, and operator in java.

Core java interview questions covers all the important questions of the topics mentioned above.

These core java interview questions is 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 decimal point, where as double can represent up to 15 digits accurately after decimal point.

What is Unicode system?

Unicode system is an encoding standard that provides the unique number for every character, no matter what the platform, program, 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 compliment notation and negative numbers are represented by using 2’s compliment notation.

What is the difference between >> and >>>?

Both bitwise right shift (>>) operator and bitwise zero-filled right shift operator(>>>) is used to shifting 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 in 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 feedbacks in the comment section below.

Have a great time!

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.