Accenture Core Java Interview | Accenture Interview Experience | Java interview questions and ans

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 137

  • @anineo89
    @anineo89 3 ปีที่แล้ว +43

    Even very good companies taking java interviews, dont ask such good, evenly distributed , simple yet logical questions. For Accenture, the interviewer is very skilled in taking interviews. She is bringing out the best in the interviewee. Thank you for your efforts AG !

  • @pratapjavasingh3239
    @pratapjavasingh3239 3 ปีที่แล้ว +10

    Sonetimes jvm will not distroy after declaring the reference variable as a null bcz when ur heap memory enough available is then garbage collector not be destroyed and not only null value eligable for garbage collector cycling problem and reassign the reference that time also ur object eligible for garbage collector 👍

  • @mayanksharma5540
    @mayanksharma5540 2 ปีที่แล้ว +2

    7:00 string obj create extra obj and occupy memory because string immutable.
    But string builder is mutable and it will reflect the change in same obj so main advantage of this to save memory.

  • @mayanksharma5540
    @mayanksharma5540 2 ปีที่แล้ว +2

    3:47 String literal is store in string constant pool and
    string object which is created with new keyword stores heap area and string constant pool both.

  • @Noobie2111
    @Noobie2111 2 ปีที่แล้ว +4

    God, please assign me an interviewer like this for my upcoming interviews and for future interviews too!

  • @rohitsharma-xt8qe
    @rohitsharma-xt8qe 3 ปีที่แล้ว +69

    She is helping a lot and giving him lots of hints 😃

    • @mithunhd2889
      @mithunhd2889 3 ปีที่แล้ว +2

      🤣🤣👍🏻👍🏻

    • @ayushkansal2861
      @ayushkansal2861 3 ปีที่แล้ว +12

      Because she want to hirre him..🤣🤣

    • @BaljeetSingh-hc5of
      @BaljeetSingh-hc5of 2 ปีที่แล้ว +3

      Requirement hogi bro. Aise hi hota.. my friend was hired on 14 lac package. Usse to ek bhi legit question nahi kia. Class 12 vale question kie.

  • @Pan-ux3bq
    @Pan-ux3bq 3 ปีที่แล้ว +28

    Just for clarification: "decrypted" passwords never go to the string pool. Only literals go to the string pool.

    • @sau5040
      @sau5040 3 ปีที่แล้ว

      So where it will go sir ?

    • @evdo009
      @evdo009 2 ปีที่แล้ว

      Hahahahaha

    • @gowris442
      @gowris442 2 ปีที่แล้ว

      S it will go to the heap memory only

  • @eswararaoravada2895
    @eswararaoravada2895 3 ปีที่แล้ว +14

    Seems 3+ years interview, Tested in design patterns concepts also

    • @harshhwardhanrai3716
      @harshhwardhanrai3716 2 ปีที่แล้ว +2

      I think, we have to give this exam within 3-4 months of joining Accenture.

  • @jackyvajwa6599
    @jackyvajwa6599 2 ปีที่แล้ว

    For the last question the answer would be URI versioning, Versioning using headers - Accept/Request Header. URI versioning is most common in which we create different api for new schema. So that old api's remain unaffected.

  • @nrk7772
    @nrk7772 3 ปีที่แล้ว +8

    JVM will create new String object for every manipulation as it is immutable

  • @usamaansari7903
    @usamaansari7903 3 ปีที่แล้ว +14

    password always stores in char cuz when store in String then it will create 2 object one in heap and other in sop and no ref variable is pointing that object so hacker can hack that

    • @indrabarve4260
      @indrabarve4260 3 ปีที่แล้ว

      But if we write like this String s = "Password" then only one object is creates in scp only and s will be pointing to that

    • @interviewforyou7152
      @interviewforyou7152 3 ปีที่แล้ว

      For more, you may check out th-cam.com/video/GtCRHoO3SVQ/w-d-xo.html

  • @mayanksharma5540
    @mayanksharma5540 2 ปีที่แล้ว +2

    2:23 charArray is the best way to store password

  • @laurellaoang6840
    @laurellaoang6840 3 ปีที่แล้ว +33

    Better store password on char[] instead of Strings.

    • @San_Jan_
      @San_Jan_ 3 ปีที่แล้ว +3

      Thats what she wanted to hear.

    • @ravikumarganta9498
      @ravikumarganta9498 3 ปีที่แล้ว +4

      byte[] also good

    • @SmartIdiots
      @SmartIdiots 3 ปีที่แล้ว +1

      Correct !!

    • @sau5040
      @sau5040 3 ปีที่แล้ว

      What is the reason that we should store it in char array

    • @Mohammedaatif90
      @Mohammedaatif90 2 ปีที่แล้ว +1

      @@sau5040 because String is stored in string pool and password will be stored in the pool.

  • @upasnakumari98
    @upasnakumari98 3 ปีที่แล้ว +11

    Even i attended for one of accenture interview ..and guy was really sweet...though the whole process took lot of time

    • @AryanRaj-dk6vv
      @AryanRaj-dk6vv 3 ปีที่แล้ว

      Was the questions almost same or different from the current vdo?

    • @upasnakumari98
      @upasnakumari98 3 ปีที่แล้ว

      @@AryanRaj-dk6vv No they were hiring for different technology.
      Mainframe, i am a mainframe developer
      -i m trying to change my technology from mainframe to java

    • @interviewforyou7152
      @interviewforyou7152 3 ปีที่แล้ว

      For more, you may check out th-cam.com/video/GtCRHoO3SVQ/w-d-xo.html

    • @upasnakumari98
      @upasnakumari98 3 ปีที่แล้ว

      Trying buddy.
      I wanted my company to allocate projects as per my interest , i know java and spring .
      I wanted them to give a chance of interview, they are so pathetic.
      So changing company

    • @vineshkumar1596
      @vineshkumar1596 3 ปีที่แล้ว

      @@shetty302 shetre enchina

  • @ScientificMyths2706
    @ScientificMyths2706 2 ปีที่แล้ว

    Marker interface are used to pass certain information to the JVM during compile time such as the class is serializable or cloneable!!

  • @yogendraraghuwanshi4487
    @yogendraraghuwanshi4487 3 ปีที่แล้ว +14

    Use character array for savings password. Its not easily readable even if it is logged.

    • @noogler123
      @noogler123 3 ปีที่แล้ว +2

      Can you please elaborate more.

    • @noogler123
      @noogler123 3 ปีที่แล้ว +1

      I understood your approach, but how it is safe. I wants to check practically.

    • @saidelbiev5326
      @saidelbiev5326 3 ปีที่แล้ว +5

      @@noogler123 in short: if you just print char arrays, it wont print the characters (unlike String does), but it will print the memory location (which doesnt help to find out the password).

    • @govindrawat8581
      @govindrawat8581 3 ปีที่แล้ว +5

      so the answer is to use the char array for storing password because string is immutable...whenver u create any object it will be allocated in heap as well as string constant pool. jvm garbage collector can delete the unused object in heap but not in scp and when u store the pwd in char and string format. when u print the the object...it will print the address location in char array but will print the value in string format. thats why char array is preferable.

  • @gdscclubpaavai1876
    @gdscclubpaavai1876 3 ปีที่แล้ว +17

    Interviewer is very blommered person😎😎

    • @bishalkumar3435
      @bishalkumar3435 3 ปีที่แล้ว +3

      @@ironcommander01 😁😁

    • @gdscclubpaavai1876
      @gdscclubpaavai1876 3 ปีที่แล้ว +3

      Blommered means very talented person

    • @jithendrareddym9149
      @jithendrareddym9149 3 ปีที่แล้ว +1

      This interview is for java devoloper so it is fine to ask

    • @jithendrareddym9149
      @jithendrareddym9149 3 ปีที่แล้ว +1

      @@gdscclubpaavai1876 can u ping me??

    • @simulink9564
      @simulink9564 3 ปีที่แล้ว

      @@bishalkumar3435 😁😁😁

  • @ravikiran-vv6gw
    @ravikiran-vv6gw 3 ปีที่แล้ว +1

    It was mostly based on your current project.

  • @taninkisekhar2872
    @taninkisekhar2872 2 ปีที่แล้ว +2

    @Kola Praveen "HK Product"😉🤟

  • @techieadi4377
    @techieadi4377 3 ปีที่แล้ว +7

    questions are very good very much help full

  • @hasannaqvi1206
    @hasannaqvi1206 2 ปีที่แล้ว +1

    Factory pattern help us to achieve loose coupling same as dependency injection or IOC

  • @AjayRathod-ze8mx
    @AjayRathod-ze8mx 3 ปีที่แล้ว +4

    I should used char data type for password

  • @tejasdeore8340
    @tejasdeore8340 2 ปีที่แล้ว +13

    Being a fresher I will be able answer 65% answer . Is that a good level as a fresher ?

  • @happyhomes3981
    @happyhomes3981 3 ปีที่แล้ว +3

    Thanks for sharing your experience

  • @swarupcodes
    @swarupcodes 2 ปีที่แล้ว +3

    He loves throws so much that he can't tell try catch 😂

  • @魔术师-l9g
    @魔术师-l9g 3 ปีที่แล้ว +16

    If HK product was there, he will rock the show 🎉

  • @ProgrammingIsFunny
    @ProgrammingIsFunny 2 ปีที่แล้ว

    20:31 it will help us in dependency injection .

  • @KuldipGhotane
    @KuldipGhotane 2 ปีที่แล้ว +1

    For decrypted password always go for byteArray than string for the reasons mentioned by her

  • @thedevs1280
    @thedevs1280 2 ปีที่แล้ว +1

    It is not safe to store in a string, possible a stringbuffer data structure or stringbuilder

  • @anantgavas2310
    @anantgavas2310 2 ปีที่แล้ว +2

    I think this is at least for 3 years of experience.

    • @pritishdey1113
      @pritishdey1113 2 ปีที่แล้ว +1

      That's what ...i am a fresher ..going above my head

  • @debadrisarkar3555
    @debadrisarkar3555 3 ปีที่แล้ว +3

    Experience range???

  • @nrk7772
    @nrk7772 3 ปีที่แล้ว +2

    I hope she is expecting Array for password storing..

    • @usamaansari7903
      @usamaansari7903 3 ปีที่แล้ว +1

      password always stores in char

    • @nrk7772
      @nrk7772 3 ปีที่แล้ว +2

      @@usamaansari7903 yes I mean char array

  • @pritirajauria4260
    @pritirajauria4260 3 ปีที่แล้ว +5

    Use Properties class for saving password

  • @RajeevKumar-ws4xn
    @RajeevKumar-ws4xn 3 ปีที่แล้ว +13

    I need this girl to interview me.....🤔🙅☘️🥗

  • @harshhwardhanrai3716
    @harshhwardhanrai3716 2 ปีที่แล้ว +1

    From 2:23 question, what's the correct answer for it ?

  • @saddammd
    @saddammd 3 ปีที่แล้ว +1

    Thanks for helping with these type of content

  • @pratapjavasingh3239
    @pratapjavasingh3239 3 ปีที่แล้ว +1

    Static use for only one copy shareable for all the classes like singleton classes and real time use case Amazon' give u the offering that is common for all the customer and ur bank account names

    • @momentsmemories-dp
      @momentsmemories-dp 3 ปีที่แล้ว +1

      Could u please elaborate use Case

    • @pratapjavasingh3239
      @pratapjavasingh3239 3 ปีที่แล้ว +1

      @@momentsmemories-dp i already elebroate but anyway if u are not able to understand then let's try one more time first u have clarity why we use static variable static method then static block or nested static then u know when the static context loaded in a jvm later on u know why we creating singleton classes taking the help of static block or static variable then u have got the idea about what i have mentioned in the comments box

    • @pratapjavasingh3239
      @pratapjavasingh3239 3 ปีที่แล้ว +1

      In real-time application when u are developing e commerce based application and ur application running in production as live same example for u can take any name Myntra or flipkart so now day's dipwali time ur application are offering the discount to the customers that's discount eligible for certain time period with all the customer for specific products so we are taking the help of static we can declare offer as a price and that's price load as a class loading time and it will create single instance that use common for all the products what we are offering in e commerce application and other reasons to avoiding the misusing the JVM memory and ur application performance will faster unless creating multiple instances for each product better to create one time that is shearble for ur all products

    • @momentsmemories-dp
      @momentsmemories-dp 3 ปีที่แล้ว +1

      @@pratapjavasingh3239 Thanks for clear explanation.

    • @pratapjavasingh3239
      @pratapjavasingh3239 3 ปีที่แล้ว +1

      @@momentsmemories-dp ohh Thanks God now u got the clarity ..😊....👍

  • @salmansiddiqui3153
    @salmansiddiqui3153 3 ปีที่แล้ว +2

    very good questions

  • @tharunnaik7769
    @tharunnaik7769 3 ปีที่แล้ว +3

    Can someone answer correctly how to handle exception when method1 calling method 2 and method 3 and any failure in method 3 how do you handle and display to client ?

    • @anupriyagarg5455
      @anupriyagarg5455 3 ปีที่แล้ว +1

      this is the concept of exception propagation. For an example - you are consuming the response and transforming the object into your model having various child classes. Now, you got some missing data on child entity but that is required. So on saving the whole object, you will get exception on child class but to be displayed on parent entity. Such type of scenarios are handled by exception propagation.

    • @rumanulla
      @rumanulla 2 ปีที่แล้ว

      Type, try and catch in every methods

  • @shubhangigupta5354
    @shubhangigupta5354 3 ปีที่แล้ว +7

    Sir were you selected after this interview?

  • @nazimurali7837
    @nazimurali7837 9 หลายเดือนก่อน

    It says core java interview and she is asking all kindof internal workings, i am a backend developer few questions and scenarios I don't even know that 😂😂😂

  • @geekwp
    @geekwp 3 ปีที่แล้ว +6

    Were you selected? What is your years of experience?

  • @yssreddy3215
    @yssreddy3215 7 หลายเดือนก่อน

    in Accenture how many days will get first technical interview will be cleared or not

  • @vishakhasharma9385
    @vishakhasharma9385 3 ปีที่แล้ว +3

    Hi , did u mention log4j in ur resume?

  • @shanthinir3213
    @shanthinir3213 3 ปีที่แล้ว +3

    Thanks for posting

  • @techflying8660
    @techflying8660 2 ปีที่แล้ว

    This interview for freshers or for experience one

  • @manasagoli9609
    @manasagoli9609 3 ปีที่แล้ว +4

    How much experience does that person have ?
    Generally asking to attend interviews.....

  • @amolyadav8958
    @amolyadav8958 2 ปีที่แล้ว

    How much year of exp you have

  • @SkRafi4ever
    @SkRafi4ever 3 ปีที่แล้ว +1

    Wow 👏

  • @narayananreigns9066
    @narayananreigns9066 3 ปีที่แล้ว +6

    When we decrypt it will be of byte array right?

    • @RAJU9622
      @RAJU9622 3 ปีที่แล้ว +1

      You need to store in char array, which will store the values in blank . So the right answer is char[]

    • @prabhasdhfs
      @prabhasdhfs 3 ปีที่แล้ว

      @@RAJU9622 can you please give more info

  • @AshutoshKumar-jn2zz
    @AshutoshKumar-jn2zz 3 ปีที่แล้ว +3

    Which video recorder you used?

  • @HemantKumar_rocks
    @HemantKumar_rocks 3 ปีที่แล้ว +2

    bhai experience bta do apna plz

  • @satisfyingwalks4010
    @satisfyingwalks4010 3 ปีที่แล้ว +3

    Is this for freshers ?

    • @tusharchouhan1858
      @tusharchouhan1858 3 ปีที่แล้ว

      No, it is for experienced Java dev

    • @gagan8281
      @gagan8281 ปีที่แล้ว

      @@tusharchouhan1858 Are you sure these won't be asked for freshers ?

    • @tusharchouhan1858
      @tusharchouhan1858 ปีที่แล้ว

      @@gagan8281 Yes Bro.

  • @placementdork7029
    @placementdork7029 3 ปีที่แล้ว +2

    Was this a freshers interview?

    • @krishnareddy690
      @krishnareddy690 3 ปีที่แล้ว

      Experience

    • @tusharchouhan1858
      @tusharchouhan1858 3 ปีที่แล้ว

      Bro I gave Accenture interview as a fresher and the interviewer didn't even touch the technical part. ONLY PROJECT AND HR

    • @faialvarez3813
      @faialvarez3813 3 ปีที่แล้ว +1

      @@tusharchouhan1858 is that true? Because I have a final interview tommorow, I'm a fresher applying for java eng ,TIA

    • @tusharchouhan1858
      @tusharchouhan1858 3 ปีที่แล้ว

      @@faialvarez3813, It really depends on the interviewer that you'll get. but I think you're done with your interview today. How was it?

  • @rohansharma-li6qr
    @rohansharma-li6qr 3 ปีที่แล้ว

    How much are they offering you?

  • @niteeshvijayakumar9870
    @niteeshvijayakumar9870 3 ปีที่แล้ว +2

    Is these questions are for Freshers

    • @AGTech777
      @AGTech777  3 ปีที่แล้ว +1

      No,this is not for freshers

    • @eswararaoravada2895
      @eswararaoravada2895 3 ปีที่แล้ว +1

      No chance, Design pattern question will ask atlesst 3+ years

  • @luislla3142
    @luislla3142 2 ปีที่แล้ว

    That’s fine? Ouch!

  • @topfunfacts1100
    @topfunfacts1100 3 ปีที่แล้ว +12

    Interviewer 😂👌

  • @kavyasharma9166
    @kavyasharma9166 3 ปีที่แล้ว +11

    Got selected???

    • @raghubirsingh4286
      @raghubirsingh4286 3 ปีที่แล้ว +2

      How many years you have experience?

    • @kavyasharma9166
      @kavyasharma9166 3 ปีที่แล้ว +5

      @@raghubirsingh4286 nearly 2 years of experience... But whatever I work on isn't useful anywhere... Trying to learn on my own

  • @ShadowRealmChroniclesAJ
    @ShadowRealmChroniclesAJ 8 หลายเดือนก่อน

    questions are very much useful but answer s🤭

  • @upasnakumari98
    @upasnakumari98 3 ปีที่แล้ว +3

    She is so cute......

  • @thinkingofcontent9044
    @thinkingofcontent9044 3 ปีที่แล้ว

    Got 13:00 😅

  • @ravikumarganta9498
    @ravikumarganta9498 3 ปีที่แล้ว +2

    I want her number...she is god(angel)...

  • @BirruAkhil
    @BirruAkhil ปีที่แล้ว

    is this a fresher interview?