Java Development Mock Interview | Part 2 | Interview Questions for Java Developers

  Рет қаралды 17,433

Turing

Turing

Күн бұрын

Пікірлер: 30
@JYNx100pre
@JYNx100pre Жыл бұрын
Hi Developers, I hope this can help you with questions in this interesting interview. 1. Could you please introduce yourself and tell me a litle bit about your background experience? 0:37 2. Could you please tell me a litle bit more about some Java projects that you have been working on? 1:45 3. Is there anything like a static class? 2:36 4. What are the use case for a static class? 4:06 5. How can i syncronize two process in Java? 5:05 6. What is static initializer and the end and they are related to static class or is the total different? 6:25 7. What's the difference between fail fast and Fail safe? 7:33 8. What is the structure of Java Heap? 8:47 9. What's the trade-off between using an unordered array and using a ordered array? 10:06 10. Can you explain marshalling and unmarshalling? 12:12 11. What is the difference between serial and throughput garbage collector? 14:05 12. When we use Linked List over an ArrayList in Java? 14:38 13. Why use Array of char is preferred for password over a string? 15:30 14. Could you please provide examples when a finally block won't be excecuted in Java? 16:09 15. Why is a string length accurate? 17:15 If you want to discuss some questions, please comment to do them together. Regards
@tobigforyou
@tobigforyou 10 ай бұрын
I think the trick to passing these interviews is having an extremely thick accent so that no one, including the interviewer understands what you're saying.
@MA-rf6sg
@MA-rf6sg 4 ай бұрын
exactly talking nonsense
@bedeamadi9317
@bedeamadi9317 4 ай бұрын
🤣🤣🤣
@coudiaexplore
@coudiaexplore Жыл бұрын
Java heap is the main memory space available for all programs that may be running on the system and it is where we have the String pool, the soft reference, the weak reference, and hard references.
@coudiaexplore
@coudiaexplore Жыл бұрын
Static classes are generally used for utility functions via static methods
@coudiaexplore
@coudiaexplore Жыл бұрын
It is possible to have a static class in java, for example, an inner class can be static
@slr150
@slr150 11 ай бұрын
I think the answers have been rehearsed. It seems that the interviewee can read the interviewer's mind. Static class means different things in different languages, from the explanation given they mean a static class from C# (you need to read the interviewer's mind to figure that out).
@PRISOM1988
@PRISOM1988 10 ай бұрын
02:25 Peter has substantial experience in Java development and has worked on biometric authentication solutions. 04:50 In Java, there is no traditional static class, but it can be simulated by making the class final, constructor private, and all fields and methods static. 07:15 Static initializers in Java and synchronizing two Java processes 09:40 Static initializer and fail fast vs fail safe 12:05 Difference between dead objects and their impact on memory management 14:30 Marshalling and demarshalling in Java 16:55 Use linked lists for faster insertion, ArrayList for faster access 19:19 Java's string length is not accurate due to handling of characters outside the basic multilingual plane. Crafted by Merlin AI.
@coudiaexplore
@coudiaexplore Жыл бұрын
In Java, process synchronization can be done via the built classes present in java. util.concurrent like Lock, Semaphore, CompletableFuture, and so on. I think this question was about multithreading.
@eugenegusev7859
@eugenegusev7859 Жыл бұрын
even more, synchronisation can be done via synchronisation blocks and wait() and notify() methods. mutexes can be easier implemented using them
@slr150
@slr150 11 ай бұрын
No the question was literally about communicating between multiple processes (not threads). There is no out of the box solution for this in Java, you can use things like lock files, DB transactions or use a distributed locking frameworks such as Hazelcast.
@MiguelAngel-kx2bu
@MiguelAngel-kx2bu Ай бұрын
you are confusing thread with process
@coudiaexplore
@coudiaexplore Жыл бұрын
Static initializer is not related to static class, it is just a block of code that must be run before the constructor and is mainly used for data initialization or initialization of heavy process/object.
@eugenegusev7859
@eugenegusev7859 Жыл бұрын
wrong. it doesn't related to the constructor. it is triggered not only when accessing static method/field but when class loaded too - Class.forName, ie it can be triggered even while no object is being created (and therefore no constructor will be called)
@yaphetb5717
@yaphetb5717 Жыл бұрын
Marker interfaces are iterfaces that doesn't have any methods inside them and they are just used to tag a class for JVM for some special behavior . For example Seriazable & Cloneable intrefaces are marker interfaces.
@coudiaexplore
@coudiaexplore Жыл бұрын
fail-fast and fail-safe is related to all collections(those implementing the Iterable interface), mainly the way the iterator works for thread-safe vs non-thread-safe collection non-thread-safe collections will throw ConcunrentModifException if we try to remove an element while looping for example. of course, is more than that
@rekhabalakrishna4145
@rekhabalakrishna4145 2 жыл бұрын
Marker interface is an interface with no methods declared in it
@eugenegusev7859
@eugenegusev7859 Жыл бұрын
there is an interesting question about ordered and unordered array. I wonder what data type did you keep in your mind? in the case we have 1 millions entries in array with values from 1 to 10. and let's say 900 thousands of them are 1. what is the time complexity to find out an index of 1st element with value 3 or 4 in this arrays? and why?
@AshutoshMohanty07
@AshutoshMohanty07 Жыл бұрын
Marker interface are used as a indication for JVM to process certain actions. Like Serializable or Clonable. When you don't mark a class with these markers then you might get NotSerializabeException or CloneNotSupportedException kind of errors.
@davidblbulyan3077
@davidblbulyan3077 Жыл бұрын
You can create your own "marker interface" and process it using reflection api. As I know, marker interfaces were used before annotations were added
@davidblbulyan3077
@davidblbulyan3077 Жыл бұрын
So marker interface is an interface without methods
@mmmm-wm8ci
@mmmm-wm8ci 5 ай бұрын
Will this helo in cracking turing java assessment
@aaqibhamdule73
@aaqibhamdule73 Жыл бұрын
Hi , I Have completed all pre-screening tests , and finalised my profile, when should I expect my intro call?
@Turingcom
@Turingcom Жыл бұрын
Hi @aaqibhamdule73, 🙂 Our matching engine is actively looking for the perfect job for you now. Your profile is being presented to multiple companies seeking your skills. This can be time consuming sometimes, but we request the developers to be patient during this process as we’re trying to find the perfect fit for your skills and seniority. 🤝 -Turing
@elianosetekpo1103
@elianosetekpo1103 Жыл бұрын
Hi Jose, Can you also cover a C# . Thanks!
@ernestsakala417
@ernestsakala417 10 ай бұрын
I have been waiting to get matched its been almost a year
@NiteshSingh-bv9lu
@NiteshSingh-bv9lu 2 жыл бұрын
Hi Jose, I am Nitesh Singh from India. I am a senior Android developer with a total of 5.6 years experience . Currently looking for new job in out of country. So please help me advice me how to crack interview. Please 🙏
@Turingcom
@Turingcom 2 жыл бұрын
Thanks for getting in touch Nitesh😀 We really appreciate your initiative and enthusiasm to work with Turing! We’d love to bring you on board and find a job for you. 😊 Turing’s Intelligent Talent Cloud uses AI to connect the world’s best software developers to high-quality U.S. jobs. 🚀 Work for top companies remotely, visit www.turing.com/jobs All the best! Turing
@MA-rf6sg
@MA-rf6sg 4 ай бұрын
He is just talking mumling rather than asnweer the questions lol
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 873 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 61 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
MUST KNOW junior role JAVA interview questions
42:15
Keep On Coding
Рет қаралды 128 М.
Вопросы с senior java интервью [1/3]
33:52
Kirill Grishchuk - Software Engineer
Рет қаралды 34 М.
Mock-собеседование на позицию Java Developer | Идеальный кандидат
1:32:25
Программист живет нормально
Рет қаралды 16 М.
Why I Fail Candidates During Google Interviews.
5:40
Alex Nguyen
Рет қаралды 142 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 873 М.