jat questions

DOCX 26.3 KB Free download

Page preview (5 pages)

Scroll down 👇
1
[bookmark: _95183h8cf0be]/if you are editing something - leave a comment who does it for personal use, please, copy the document. do not add answers here. [bookmark: _95183h8cf0be]java core [bookmark: _95183h8cf0be]1. class (type, file) [bookmark: _95183h8cf0be]1. ways to create a new type/class in java (class, interface, …) [bookmark: _95183h8cf0be]2. ‘inner’ classes: classification, differences, best practice. [bookmark: _95183h8cf0be]3. a few types in one ‘java’ file: rules of usage, best practice. [bookmark: _95183h8cf0be]4. naming convention for classes, best practice. [bookmark: _95183h8cf0be]5. keywords to be used for creating new classes/types. [bookmark: _95183h8cf0be]6. structure of a new type, possible structural elements. [bookmark: _95183h8cf0be]7. byte code in java. [bookmark: _xym0y9h2v2bg]8. structure of a file with extension ‘.class’. [bookmark: _tdx64o1ne2ar]2. usage of static and non static blocks in a class 1. why static and non static blocks were introduced in java? 2. life cycle of static and non static blocks. 3. static and non static blocks and …
2
in java, best practice. [bookmark: _4omslsc29dus]5. polymorphism 1. description of the essence of the idea. 2. what are the types of it? 3. implementation and support of ‘polymorphism’ in java. 4. polymorphism and data members in java. 5. overloading and overriding methods. 6. what is run time and compile time polymorphism? 7. polymorphism and best practice in java. 8. possibility to override static methods in java. [bookmark: _f0cy8pjic5pr]6. inheritance 1. what is inheritance? 2. inheritance in java, supported types. 3. ways to use inheritance in java. 4. difference between inheritance and abstraction. 5. polymorphism and inheritance differences. 6. composition vs inheritanbce. [bookmark: _xnk58w7pbai3]7. encapsulation 1. what is encapsulation? 2. features of encapsulation. 3. advantages of encapsulation. 4. support encapsulation in java, how to achieve, benefits of using. 5. difference between inheritance and encapsulation. [bookmark: _ggr7chuxy3gf] 8. interface 1. what is interface? 2. interface in java 3. multiple inheritance and interface. …
3
nism interact with serialversionuid? 6. serialization and inheritance. 7. serialization and composition. 8. ways to manage a serialization process. 9. including or excluding data to be serialized. 10. serialization and java versions, possible restrictions. 11. where we can see usage of serialization mechanism in java, best practice. [bookmark: _7r7w96f8j1ri]11. exceptions in java 1. what exception is? 2. hierarchy of exceptions overview. 3. checked vs unchecked exceptions. 4. important methods of exception. 5. java 7 and multi-catch block. 6. custom exceptions, best practice. 7. runtime exceptions. 8. finally block usage, best practice. 9. exception handling best practice. 10. why checked exception introduced in java? [bookmark: _xx0fe4cowu57]12. constants in java 1. what is constant in java? 2. ways to create constance. 3. what is enum? 4. why was enum introduced in java? benefits of using. 5. ‘classical’ constants vs enums. 6. best practice to create, keep constances. 7. constants in interfaces? [bookmark: …
4
tring. 7. stringbuffer important details. 8. stringbuilder vs stringbuffer. 9. best practice to choose between string, stringbuilder and stringbuffer. 10. what's the right way to compare two strings in java? 11. what's the right way to perform a case-insensitive comparison of two strings in java? [bookmark: _4kmlz4vgnnbx]16. equals/hashcode contract 1. default behavior of equals and hashcode methods. 2. hashcode method overriding rules. 3. equals method overriding rules. 4. a contract between equals and hashcode methods. 5. why are methods connected to each other? describe the result of scenarios when one of them is overridden but the other not: side effects. 6. difference between ‘==’ and equals. 7. collections and equals/hashcode dependencies, best practice. [bookmark: _vu3885y6enqr]17. garbage collector 1. what is gc? 2. ways to interact with garbage collector for a developer. 3. strong, soft, weak, phantom references. when and how to use, best practice. 4. finalize method known issues. 5. …
5
ject class to manage threads: overview, how to use. 14. why methods to manage threads in two different classes? 15. sleep vs wait. 16. what is a volatile variable in java? how does it work? 17. how synchronization works in java. best practice. 18. synchronize and volatile difference. 19. atomic operations. 20. range of thread safe types/design patterns (from immutable to not thread safe); 21. what is deadlock? 21.1. what strategies do you know for preventing deadlock? 22. how many ways to create a thread do you know? (thread, runnable, callable ) 23. what is the future class used for? 24. what are the advantages of callable over runnable? 25. what thread priorities are there? 26. can you stop a thread by reducing its priority to 0? [bookmark: _ufi8ywz07gap]19. java reflection 1. what is java reflection? 2. reflection apa. 3. where and why to use it. 4. pros and cons …

Want to read more?

Download the full file for free via Telegram.

Download full file

About "jat questions"

[bookmark: _95183h8cf0be]/if you are editing something - leave a comment who does it for personal use, please, copy the document. do not add answers here. [bookmark: _95183h8cf0be]java core [bookmark: _95183h8cf0be]1. class (type, file) [bookmark: _95183h8cf0be]1. ways to create a new type/class in java (class, interface, …) [bookmark: _95183h8cf0be]2. ‘inner’ classes: classification, differences, best practice. [bookmark: _95183h8cf0be]3. a few types in one ‘java’ file: rules of usage, best practice. [bookmark: _95183h8cf0be]4. naming convention for classes, best practice. [bookmark: _95183h8cf0be]5. keywords to be used for creating new classes/types. [bookmark: _95183h8cf0be]6. structure of a new type, possible structural elements. [bookmark: _95183h8cf0be]7. byte code in java. [bookmark...

DOCX format, 26.3 KB. To download "jat questions", click the Telegram button on the left.

Tags: jat questions DOCX Free download Telegram