Top 50 solved java MCQs - Part 1

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 269

  • @greyhound5350
    @greyhound5350 2 года назад +40

    The tutorial was awesome... With a great jump scare at 17:33 😶

    • @reethikprasad2139
      @reethikprasad2139 2 года назад +2

      exactly

    • @nothing4414
      @nothing4414 2 года назад +1

      Sound nhi hai mam bhut slow bol ti hai 😅
      But explain bhut acha kar ti hai

  • @er.mansuri
    @er.mansuri 3 года назад +9

    21:47 Here in question 25 . boolean takes 1 bit.(Why you write boolean take 8byte space) Then option 1 is also right!

  • @geetikasahu6197
    @geetikasahu6197 3 года назад +19

    The voice is tooo low you have to hear it at full volume and then suddenly there will be full sound of a guitar playing to give you literally mini heart attack🤯😅
    The content and explanation is nice👍

  • @meetabhashiniparida9417
    @meetabhashiniparida9417 3 года назад +30

    The sound😂...i got scared bruhh

  • @TechyBlaze07
    @TechyBlaze07 4 года назад +23

    I had to listen to this in my home theater with full bass
    just kidding
    great!!!!!

    • @justmoonthings
      @justmoonthings  4 года назад +1

      I corrected that mistake in other videos. :)

  • @prashantmjadhav
    @prashantmjadhav Год назад +3

    In qtn:15, 1 and 3 will give compilation error. 2 is allowed

  • @DIAcademy2405
    @DIAcademy2405 3 года назад +8

    17:32 i got scared here.
    that sudden sound..

  • @PlanetPulsee
    @PlanetPulsee 3 года назад +2

    Mam, in question number 21 all conditions are true when we execute this code the printing value will be Grade A , B , C ,D;
    Kyuki score ki value 180 jo ki sabse bdi h

    • @abhijeet1853
      @abhijeet1853 2 года назад

      grades value is continuously updating from A to B to C to D as the conditions executes, so in the end D is the ans we are getting.

  • @kalpanasuryawanshi7390
    @kalpanasuryawanshi7390 4 года назад +2

    Your java mcq video is very helpful for me to revision purpose

  • @rajgote1865
    @rajgote1865 2 года назад +4

    Hello Ma'am, these MCQs are very very helpful thanks for this. only one doubt is inta =7(in Q.15th) allowed actually I tried in my PC and got an error.

  • @kumarnitin4842
    @kumarnitin4842 3 года назад +4

    I have these two doubts
    Q.5. Error vs Compilation Error?
    Q.25. Size of boolean?

    • @kavibharathik2228
      @kavibharathik2228 2 года назад

      error is error in code(syntax) and compilation error is error while compiling(class not found,exception)

  • @_adventure_addicts_
    @_adventure_addicts_ 2 года назад +1

    Ma'am in Q15 u said variable name must not start with special character than how int _moon is valid..?

  • @ajitavchakrabarty
    @ajitavchakrabarty 3 года назад +4

    On 15th point you mentioned that variable name must not contain special character; however, _moon is starting with special character. Can you please explain this?

    • @akankshapatil3510
      @akankshapatil3510 3 года назад +1

      Yes it should not start with special character it's wrong

    • @rohanpatale9797
      @rohanpatale9797 Год назад

      @@akankshapatil3510 the Code compiles for "int _moon=7; ", But inta=7; gives Error

  • @syedkhundmir8938
    @syedkhundmir8938 4 года назад +2

    Ur covering all Complex topics with Ease SUPERB.

  • @inang1968
    @inang1968 3 года назад +12

    This is amazing! I love how you review us before answering the question! I will subscribe! Thank you so so much!

  • @vandavasiakshitha5359
    @vandavasiakshitha5359 3 года назад +2

    Super

  • @vickrantchaudhari8572
    @vickrantchaudhari8572 3 года назад +2

    The Way you explain doesnt seem that you copy the answer (that most of the other youtubers do)i t clearly shows that you have a very good knowledge in Java
    .Loved your video :)

  • @yespavan662
    @yespavan662 2 года назад +2

    25 ans is A because , boolean size is 1bit where as byte size is 8 bits means 1 byte

  • @prashantmjadhav
    @prashantmjadhav Год назад +1

    Nice explanation

  • @Rehack65
    @Rehack65 2 года назад +1

    Really useful info. Great to brush up on concepts not at the forefront of everyday programming.

  • @Shankar-lz7zs
    @Shankar-lz7zs Год назад +1

    Very nice explanation Mam

  • @vaishnavirahane9056
    @vaishnavirahane9056 4 года назад +9

    This video helped me in understanding many concepts, thank you

    • @justmoonthings
      @justmoonthings  4 года назад

      Like and share it will help me to make it reach more n more

  • @bidyamohapatra7123
    @bidyamohapatra7123 3 года назад +1

    Suggest some questions for codility test

  • @prachiarade6046
    @prachiarade6046 3 года назад +2

    Hello, Thank you for good content , however in Q 15 .If var name cant start with special char as per your explnation, option 2 should also be wrong?

  • @indranipudaruth9341
    @indranipudaruth9341 3 года назад +1

    Very helpful, thanks

  • @Quirkyalonesince2000
    @Quirkyalonesince2000 3 года назад +1

    No words...sure u will reach ur heights...bcz of ur explanation and the way ur speak and prononuce the word...

  • @Offensive_Security1998
    @Offensive_Security1998 Год назад +1

    In question 5 it will be compilation error not error only,in question 15 both a and c r wrong.

  • @kadereklou6132
    @kadereklou6132 7 месяцев назад +1

    Q5 i think correct answer is d) compilation error

  • @avarose4852
    @avarose4852 2 года назад +1

    You are amazing... like all other indians

  • @shatrughansharma5301
    @shatrughansharma5301 2 года назад +1

    Ma'am in question 7, the snippet says-double mynumber=..........(till 18 digits) so why don't we get an error for storing value more than the capacity of the data type, please explain ma'am..🤔🤔🤔🤔

  • @anjusreetalukdar1999
    @anjusreetalukdar1999 3 года назад +3

    in q 17 Abstraction is used for hiding purpose. I suppose the ans should be none of these

  • @aniruddhakulkarni8861
    @aniruddhakulkarni8861 4 года назад +5

    thank u so much its so imp to know dese minute things wich we ignore

  • @deepsharma1569
    @deepsharma1569 2 года назад +1

    You are good

  • @vishalthakkar5654
    @vishalthakkar5654 3 года назад +2

    Very good and helpful video content 👏 I like it 👌 and I also learn some new things tysm

  • @manishsultanpure639
    @manishsultanpure639 3 года назад +2

    madam ji 15th question me 1st and 3rd dono mai error ayege please first check

  • @mithank2666
    @mithank2666 2 года назад +1

    tumba tumba thanks , respect from karnataka😍

  • @srujanalbert8208
    @srujanalbert8208 3 года назад +1

    Could suggest a book like question bank on java..mcqs preparation

  • @vandavasiakshitha5359
    @vandavasiakshitha5359 3 года назад +2

    I learnt so much

  • @ShekharPachauri
    @ShekharPachauri 3 года назад +5

    Hii.... Very useful video.
    Can you explain question 15
    Since variable name must not start with number and special character, shouldn't option B also give an error along with option C? First I thought inta= 7; is wrong.... Can you please clear my doubt.

  • @yuktachivilkar5012
    @yuktachivilkar5012 4 года назад +1

    Your explanation was very easy to understand. ...thanks

  • @commieTerminator
    @commieTerminator 3 года назад +3

    In the 25th question, u showed the memory required to store a boolean data type is 8 bytes. Can I know why? Why does JVM requires 64 bits to store one bit of information?

    • @swathir9170
      @swathir9170 3 года назад +1

      1 byte = 8bits. So, it will take 8*8 = 64 bits.

    • @matthcw8745
      @matthcw8745 3 года назад

      Isn't it 1 bit, 0 or 1

  • @ballarikrishnakanth8899
    @ballarikrishnakanth8899 2 года назад +2

    10:18 why compilation error ? it should have displayed "MOON" only since its value cannot be changed.

    • @coolguy2060
      @coolguy2060 Год назад

      yes a final variable can't be changed, that's why the line ' a = "RUclips" ; ' will give you an error.

  • @dhanushamruth6663
    @dhanushamruth6663 3 года назад +9

    13:48 I thought my laptop's battery is down😂😂😂

  • @deenimajlees3579
    @deenimajlees3579 2 года назад +1

    Your voice and manner of explanation is sooo cutee

  • @mitrasen2295
    @mitrasen2295 3 года назад +1

    Thanks a lot ma'am

  • @rakeshiyer293
    @rakeshiyer293 Год назад +1

    The tutorial was awesome. But at Q)21 u gave wrong answer bcz there are 5 options & the answer is else grade="7" for that u gave only 4options at 19:01 minute plesase check it.

  • @harshjoshi4572
    @harshjoshi4572 3 года назад +1

    thanks for this ...

  • @aditipal3271
    @aditipal3271 3 года назад +1

    In question no 7 why first letter of double is capital D ???

  • @sadmansami2052
    @sadmansami2052 3 года назад +1

    It was a very helpful video. Thank you. Respect from Bangladesh

  • @preetambehera4792
    @preetambehera4792 2 года назад +2

    in qns no 25 .Size of boolean data type is machine dependent.It should not be considered as 8 bytes.Btw Thanks a lot for this amazing video.Keep it up

    • @tusherdhali3507
      @tusherdhali3507 Год назад

      1,3 both are true.

    • @equalitysaid5235
      @equalitysaid5235 Год назад

      no the right answer for question 25 is number 1 In Java, the data types are organized in a hierarchy based on their size and range. Here is the range of primitive data types in Java from smallest to biggest:
      boolean: Represents a true or false value (1 bit, but its size is not explicitly defined in the language specification).
      byte: 8-bit signed two's complement integer. Range: -128 to 127.
      short: 16-bit signed two's complement integer. Range: -32,768 to 32,767.
      char: 16-bit Unicode character. Range: '\u0000' (0) to '\uffff' (65,535).
      int: 32-bit signed two's complement integer. Range: -2,147,483,648 to 2,147,483,647.
      float: 32-bit IEEE 754 floating-point. Range: Approximately ±3.40282347E+38F (positive and negative values).
      long: 64-bit signed two's complement integer. Range: -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
      double: 64-bit IEEE 754 floating-point. Range: Approximately ±1.7976931348623157E+308 (positive and negative values).

  • @KaungPyaeSoneAung123
    @KaungPyaeSoneAung123 3 года назад +2

    I watched this before my exam
    Thanks I'm now more confident for it

  • @harishks.kumar.7886
    @harishks.kumar.7886 2 года назад +1

    in 1st question int(a), there is a error in the int position.
    please check it.

  • @mohammadasif3829
    @mohammadasif3829 3 года назад +1

    Good explanation with correct answer 🔥🔥

  • @StarStrangelet
    @StarStrangelet Год назад +1

    boolean size is 1bit right ? not 8 bytes

  • @icecream-is-love
    @icecream-is-love 3 года назад +1

    Mesmerizing voice 😇😇😇

  • @vishalgaikwad3424
    @vishalgaikwad3424 Год назад +1

    The tutorial is awesome with scary sound effects 😢😢😂😂

  • @shubhammishra3642
    @shubhammishra3642 3 года назад +2

    Thanks for this .. Your voice & way of showing concepts for better understanding is amazing.. Wish you best for your bright future

    • @justmoonthings
      @justmoonthings  3 года назад

      So nice of you

    • @shubhammishra3642
      @shubhammishra3642 3 года назад +1

      @@justmoonthings But via replying on viewers comment in a kind manner you always teach us how to stay humble..I was using RUclips since 8 years but this is the very first time of mine when I commented on this platform.. keep shining

    • @justmoonthings
      @justmoonthings  3 года назад

      Glad to hear

  • @abhijeetsheelvant7740
    @abhijeetsheelvant7740 3 года назад

    Thank you

  • @webdevtricks
    @webdevtricks 2 года назад +2

    Heads up: Boolean will definitely store 1 BIT of memory not 8 Bytes

  • @narjisbatool5991
    @narjisbatool5991 4 года назад +1

    Good video

  • @srinivaskaribandi1089
    @srinivaskaribandi1089 3 года назад +2

    11 question you said compile time error was wrong.because it's compiled but according to the java immutable concept it prints second value.

  • @joshuamahadevan9550
    @joshuamahadevan9550 2 года назад +1

    Thanks for the fantastic video ❤!!
    And a jump scare 😵‍💫

  • @kalpanasuryawanshi7390
    @kalpanasuryawanshi7390 4 года назад +1

    Please share more video of Java MCQ

  • @juliejotsnaxaxa
    @juliejotsnaxaxa 4 года назад +1

    What will be the explanation for Q21?

  • @roopeshbabubh595
    @roopeshbabubh595 2 года назад +1

    Madam question 15) ans B) 2 , because special character is not allowed except "_" and "$".

  • @taebear5301
    @taebear5301 3 года назад +1

    I passed the test . Thank you so much....🙏

  • @ballarikrishnakanth8899
    @ballarikrishnakanth8899 2 года назад +2

    14:22 in ques 15 & 16 , var name must not start with underscore bUT . in ques 15 , second option was " int _moon=7;" THIS MUST BE WRONG .

  • @agni942
    @agni942 11 месяцев назад +1

    sanirim guzel bir video ama biz anlamadik ablam yolun acik olsun

  • @navyaramayanam5913
    @navyaramayanam5913 3 года назад +1

    Ma'am what is the difference between error and compilation error,plz clarify

    • @twinklegarg1413
      @twinklegarg1413 2 года назад +1

      Compilation error is an catched error in java ie it is already defined in java's exception class and gives a familier message that defines our mistake e.g. divide by zero error is a compilation error. And an error is what that generally can not be defined in exception class so no familier message is printed. It is a concept of exceptions handling .
      ..
      Hope sobit will be helpful🙂

  • @014-neerajajadhav3
    @014-neerajajadhav3 2 года назад +1

    In the 8 th question y no space between the 10 and 20?

  • @kirtansharma198
    @kirtansharma198 4 года назад +4

    In 13th question if(1), isn't 1 considered true?

    • @vampyrgaming3953
      @vampyrgaming3953 3 года назад +3

      nope, in java you have to give it like if("variableName"==1(or any final value you assign)) then it is true

  • @014-neerajajadhav3
    @014-neerajajadhav3 2 года назад +1

    Size of isn't a operater in java?

  • @talibsmiler8429
    @talibsmiler8429 3 года назад +1

    What Software have u running as screen... Its nice.. Can u help me getting it. I need this to help my team mates discuss

    • @justmoonthings
      @justmoonthings  3 года назад +1

      Google slides

    • @talibsmiler8429
      @talibsmiler8429 3 года назад

      Okay!!!!can u call the steps for ur setup.. Lovely green background with a magical orange laser...

  • @ahmedjan6783
    @ahmedjan6783 3 года назад

    fantastic work

  • @anindomazumdar2601
    @anindomazumdar2601 3 года назад +1

    Q21 can you please explain?

  • @SurajSingh-ju2nb
    @SurajSingh-ju2nb 2 года назад +1

    Video was awesome but the sound in the middle of video I got really scared 😅

  • @anandsivaram2257
    @anandsivaram2257 4 года назад +2

    Thank you 😊,it was very useful

  • @Coderama
    @Coderama 4 года назад +1

    Nice video keep going

  • @AbhishekSingh-dt6br
    @AbhishekSingh-dt6br 3 года назад

    keep up the good work

  • @roopeshbabubh595
    @roopeshbabubh595 2 года назад +1

    Madam question 25) ans B) 2, boolean size is 1 bit not 8 bytes

  • @ashmitamajumdar9652
    @ashmitamajumdar9652 4 года назад +1

    Thank you so much mam! Amazing video! Extremely thanks 😊

    • @justmoonthings
      @justmoonthings  4 года назад

      Your welcome

    • @MeLLiFLuOuSViDeOs
      @MeLLiFLuOuSViDeOs 3 года назад

      www.amazon.in/Object-Oriented-Programming-C-4e/dp/8131722821/ref=sr_1_2?dchild=1&keywords=robert+lafore&qid=1607740393&sr=8-2
      Best OOPS book MRP 800 Sale Price: *** ( Limited Stocks) check in Flipkart

  • @sirichandana605
    @sirichandana605 4 года назад +1

    It helps me alot thank you so much

  • @pratyushakonchada8123
    @pratyushakonchada8123 2 года назад

    Mam...can you make a video on Java 8 related questions

  • @coolguy2060
    @coolguy2060 Год назад +1

    At 13:34 Q 15) ' inta=7; ' will also give error.

  • @TechCategory
    @TechCategory 3 года назад +1

    Can u tell me about system engineer job in tcs.

    • @TechCategory
      @TechCategory 3 года назад

      Do u have any link from where i can apply as a system engineer

  • @raghvendradubey9102
    @raghvendradubey9102 4 года назад +6

    In 15th question 1st & 3rd both option gives error

    • @justmoonthings
      @justmoonthings  4 года назад

      I will look into it 😊😁

    • @sedfreymanego5849
      @sedfreymanego5849 3 года назад

      I agree. inta is read as a variable and has not been declared.

  • @Awais_Khan_Tanoli
    @Awais_Khan_Tanoli 3 года назад +1

    Informative video! but you highly need to use a mic it wasn't easy to listen to you

  • @umernisar1118
    @umernisar1118 4 года назад +1

    Thanks mam

  • @zarakanwal4808
    @zarakanwal4808 3 года назад +1

    Your voice is too low .i cannot listen it properly plz make your volume high so that i can understand better much ❤️
    Thank you

    • @justmoonthings
      @justmoonthings  2 года назад

      This was the first recording I have ever done Voice quality in for the videos have been improved

  • @rajeebnayak2836
    @rajeebnayak2836 3 года назад +1

    That battery is running low got me for a sec XD XD. Btw nice video... Very much helpful before any test.

  • @numanazad1106
    @numanazad1106 2 года назад +1

    your voice 💌

  • @yajneshkanchan3685
    @yajneshkanchan3685 4 года назад +1

    Thank you helped a little can try give some example similar to the problem u solve.

  • @koppulasupriya2480
    @koppulasupriya2480 3 года назад +1

    In 7th question
    We are converting double to float right
    We can do type casting know
    But if we do like this
    a= my number.floatvalue();
    It is showing error for me
    Can anyone please help me out

  • @nishanttomar3050
    @nishanttomar3050 4 года назад +1

    thanks a lottt... great video
    just a suggetion plzz use different color combinations.

  • @PlanetPulsee
    @PlanetPulsee 3 года назад +1

    Question no. 15 (1,3) both will give an error

  • @mayflower268
    @mayflower268 4 года назад +1

    its gr8, please do continue

  • @knox1406
    @knox1406 4 года назад +1

    Thanks mam i am computer student

    • @justmoonthings
      @justmoonthings  4 года назад +1

      Happy to help

    • @knox1406
      @knox1406 4 года назад +1

      @@justmoonthings can you share pdf of core java advance java

    • @justmoonthings
      @justmoonthings  4 года назад

      I will try to create more content soon

  • @deepakcl1449
    @deepakcl1449 4 года назад +1

    Thank you 🙏

  • @swadhinmohanty3980
    @swadhinmohanty3980 9 месяцев назад +1

    how this video is edited middle of the video some ditrubance sound is there

  • @SS-lk7fs
    @SS-lk7fs 3 года назад +1

    15th qn the second option is also wrong ..java doesnt allow variable names starting with underscore

    • @roopeshbabubh595
      @roopeshbabubh595 2 года назад

      No madam it does not allow special character except "_" and "$".