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
@tobigforyou10 ай бұрын
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-rf6sg4 ай бұрын
exactly talking nonsense
@bedeamadi93174 ай бұрын
🤣🤣🤣
@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 Жыл бұрын
Static classes are generally used for utility functions via static methods
@coudiaexplore Жыл бұрын
It is possible to have a static class in java, for example, an inner class can be static
@slr15011 ай бұрын
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).
@PRISOM198810 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
even more, synchronisation can be done via synchronisation blocks and wait() and notify() methods. mutexes can be easier implemented using them
@slr15011 ай бұрын
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Ай бұрын
you are confusing thread with process
@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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
@rekhabalakrishna41452 жыл бұрын
Marker interface is an interface with no methods declared in it
@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
So marker interface is an interface without methods
@mmmm-wm8ci5 ай бұрын
Will this helo in cracking turing java assessment
@aaqibhamdule73 Жыл бұрын
Hi , I Have completed all pre-screening tests , and finalised my profile, when should I expect my intro call?
@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 Жыл бұрын
Hi Jose, Can you also cover a C# . Thanks!
@ernestsakala41710 ай бұрын
I have been waiting to get matched its been almost a year
@NiteshSingh-bv9lu2 жыл бұрын
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 🙏
@Turingcom2 жыл бұрын
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-rf6sg4 ай бұрын
He is just talking mumling rather than asnweer the questions lol