Top Core Java Interview Question and Answer Job Interview 12

319 views · Published 14 October 2012 · 0:47 · Indexed 8 November 2026

Channel: Interview DOT · 2012 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. JOB VACANCIES IN TOP IT / NOT-IT COMPANIES

UPLOAD YOUR RESUME IN 1 MINUTE ! ! !
http://www.interviewdot.com/upload-resume/uploadresume.htm

http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com

Welcome to www.InterviewDot.com     How to for java prepare for Interview Questions :   Top Java Interview Questions and Answers.

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters ?

Unicode requires 16 bits and ASCII require 7 bits Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits.

UTF-8 represents characters using 8, 16, and 18 bit patterns.

UTF-16 uses 16-bit and larger bit patterns.

What restrictions are placed on the location of a package statement within a source code file ?

A package statement must appear as the first line in a source code file (excluding blank lines and comments).

What is a native method ?

A native method is a method that is implemented in a language other than Java.

What are order of precedence and associativity, and how are they used ?

Order of precedence determines the order in which operators are evaluated in expressions. Associated determines whether an expression is evaluated left-to-right or right-to-left.

Can an anonymous class be declared as implementing an interface and extending a class ?

An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.

For more Interview questions and answers  - logon to www.InterviewDot.com - India's Top Interview Guide.
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com

More from this channel