Day 79 | Tricky Java interview question | #scjp #ocjp

preview_player
Показать описание
Daily Java interview questions
Java programming interview questions
core Java interview questions
core Java programming interview questions
Java tutorial
learn Java
Java programming for beginners
Java programming for experienced
Java for beginners
Java for experienced
core Java mock interview questions
#javacertification #java #javaprogramming #javaquestions #learnjava #interview #javainterviewquestion #javatutorial #scjp #ocjp #corejava #corejavainterviewquestions #corejavatutorial #corejavasql
springboot interview questions
springboot questions
#corejava #trickyjava
Рекомендации по теме
Комментарии
Автор

Ans: Exception bcz variable x is in the octal form representation (0 prefixed represents Octal) it allows only digits from 0 - 7.

naveen__
Автор

Its not exception. It an complier time error. There is a alot different between exeption and compliee time error.

ranithrupthi
Автор

This is a compiled time error bcoz x variable initilize octal value

awaissayyed
Автор

Because it is octal number and we can't add decimal to it then it throws an exception

satishsgm
Автор

COMPILETIMEERROR: INTEGER NUMBER TOO LARGE

navalkishor
Автор

Options are wrong.. Exception will occur once the code compiles.. This does not even compile

Jxjdjsnbamckkd
Автор

Exception bcz octal from can't take

Chinna-ujcv
Автор

Expection vale like kare
Kyo ki main function ke bad { open nahi huaa h😅

motivationalquotes
Автор

Int x = 08, was too big . So exception

vinothkumarbalaji
Автор

Thank you for sharing such good questions

VishalKumar-dchi
Автор

Wrong question because we could know write two same letter in that case

arnave