CrazyEngineers
  • how can i improve my progrraming skills in java?

    ashie

    ashie

    @ashie-F59bNm
    Updated: Oct 12, 2024
    Views: 1.1K
    hii everyone
    I want programming questions on java asked in written technical round.
    just want to prepare harder....if anyone have some question plz share with me..

    thanks
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Neeraj Sharma

    MemberJun 12, 2012

    ashie
    hii everyone
    I want programming questions on java asked in written technical round.
    just want to prepare harder....if anyone have some question plz share with me..

    thanks
    Well in Technical Rounds, the questions that are asked are just basics. Some of the questions that I faced were the likes of
    -> JVM structure and purpose
    -> Why no multiple inheritance in Java?
    -> Can you write a program without main?
    -> What are collections? Write a program for each?
    -> Why don't you need a destructor in Java?
    -> How can you connect java to a database?
    -> What is Dynamic Method Dispatch?
    -> Can you overload a constrcutor?
    -> What are virtual functions in Java?
    -> What is autoboxing and unboxing?
    -> What is the difference between Applet and Frame?
    -> What are the different layouts used in Frame?
    -> Will the Frame object be visible implicitly or it must be explicitly made visible? How will you accomplish that?
    and many more... Just have the basics right and it will not be a tough job to crack the technical round
    Are you sure? This action cannot be undone.
    Cancel
  • ashie

    MemberJun 12, 2012

    thanks for the questions...
    Are you sure? This action cannot be undone.
    Cancel
  • Anoop Kumar

    MemberJun 12, 2012

    which is platform independent JDK, JRE or JVM?
    you can google it.. 😀
    and give the answer of above questions too.
    I find the best way to improve java is keep repeating tricky basic questions and studying new things. When you study new things you will get itchy to program on computer to see how it's working.😉
    Are you sure? This action cannot be undone.
    Cancel
  • sookie

    MemberJun 12, 2012

    I guess you prepare thoroughly these topics in Java. I can't tell you the questions exactly. These days interviewers are also getting smart. They don't ask the questions easily available on web

    1. *OOPs concepts for.e.g given a real situation then how will you make classes and all and make use of inheritance, abstraction, encapsulation etc. May be asked to write a program.

    2. Overriding + co variant return - Be thorough with the concept.

    3. *Assignment , type casting, "static", "final" and "finally" keywords usage. Be well prepared with static. If get time you can focus little on constructors. where all "static" block can be used. Mainly focus on solving programs in this. You may be given a small program and ask for the output using any of the concepts.

    4. Collections -> Mainly comparison and usage of each type of collection available in java. Try to get good command on sorting type programs + find largest and second largest element from an array using optimized program+ how Garbage handling done in java(little knowledge)

    5. *Exception Handling mainly how to avoid "finally" block to be executed, exception hierarchy, when do we get class cast exception, null pointer exception etc. What are checked and unchecked exceptions in Java. Can we catch "run time exceptions" in our program ? What are errors?

    6. *Strings + String pool how it works + Why strings immutable? May give you a program mainly using strings with arrays and ask for the output.

    7. Multi-threading - company's of high profile generally ask otherwise may skip.

    According to me these are the basics of Java every programmer in Java should be thorough in this. If you answer all the questions in these topics and fail to answer questions out of this scope, tyou will still impress the interviewer.

    Good luck !!😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register