JavaFX Interview Questions
JavaFX Interview Question And Answers:
Q.How does JavaFX compare to Flash and Flex?
Flex pretty good but also started to use JavaFX. I am a little bit confused. JavaFX seems to focus more on low level drawing operations and animations. Less on creating standard UIs like Flex.On The Other Side JavaFX Also Supports Swing Components As Well As Data Binding, Which Makes It Appear More Like Flex.
Q.Where Is The JavaFX Scene Builder Gone?
I Am Trying To Find The Elusive JavaFX Scene Builder So I Can Use It In Intellij. =I Am On Windows OS.
Oracle Have Stated That The JavaFX Scene Builder Is Included In A New Download, But No Matter How I Search I Cannot Find It (Http://Www.Oracle.Com/Technetwork/Java/Javafx/Downloads/Index.Html). I Think They Have Linked To The Incorrect Page And Googling For It Is Getting Me Nowhere.
I Already Have Java 8 SDK Installed And Working Fine. Apparently JavaFX Is Now Included In That, But Nowhere In The Java Folder Can I Find The Scene Builder And It Seems To Be Completely Missing Online.
Q.What about JavaFX on the iPad or other mobile devices?
As much as I would like to answer this question, I am not allowed to. You can believe me, this really bugs me, especially since I hear time after time how important (and cool) JavaFX on these devices would be. All I can say is, that we presented prototypes of JavaFX on different tablets at JavaOne last year and asked, if this is something the community wants. The feedback was overwhelming. We continue to look into this, but for now I can only humbly ask you for your patience.
Q.Is Swing dead now?
“Swing will remain part of the Java SE specification for the foreseeable future, and is included in the JRE”. – But it is in maintenance mode now, no new features are being developed at this point. So if you want to use the new and cool stuff that was developed for JavaFX, you have to migrate to JavaFX or embed JavaFX in your Swing application. Which leads me directly to the last question.
Q.How do I migrate my Swing application?
I do not have an answer for this question yet. As a library developer, I do not write JavaFX applications. The only time I actually use the JavaFX runtime, is when I write small scripts to reproduce a bug or in my unit tests.
So for a start, here is what I am aware of. There is a tutorial about how to integrate JavaFX into a Swing application. I know there are efforts going on to build a JavaFX RCPs (Rich Client Platforms) on top of NetBeans and Eclipse although I do not know much about these projects. They may help, if your application was build on top of the NetBeans or the Eclipse platform. And on our mail alias, there is currently an interesting debate about an application framework for JavaFX going on, that you are welcome to join (email@example.com).
Q.Describe a bad experience you had working with your ex-employer
Never bad-mouth previous colleagues and ex-employees. Instead of focusing on the details of the incident, put more emphasis on the part where you managed to make him see your point-of-view.
For example – “They were thinking from a different point of view, but in the end, they managed to understand my concerns as well.”
Q.Describe how you handle disagreement.
Applying STAR to this situation, recall an incident in your life that suits the question, mention what task you set to address the issue, the actions you took, and the results you got.
For example – “We had once designed a template for a group presentation, however one member wasn’t too happy with him being asked to conclude. I suggested he should give it a trial run. At the end, he realized that he was as good at concluding as he was at opening a presentation.
Q.Explain a situation when you explained a complex idea simply.
This is a standard question in Customer Service, Sales & Marketing, IT and education sectors. Provide specific, job-related examples.
For example – “Yes, I designed a presentation that explained all the points in a clear manner. I also created a document describing the concept in simple words and handed it to the audience.”
Q.Describe a time when you had to adapt to a change at work.
Asking about incidents where you had to change your style of working is very common in Behavioral Interviews. Recruiters want to check your adaptability skills, as someone with a firm notion won’t be flexible to adjust to a process.
For example – “The management had decided to move on to Macintosh for all their company devices which took a bit of getting used to, however I spent a lot of time on it and this practice helped me a lot.”
Q.Describe a time when you made a mistake.
Companies prefer candidates who have made mistakes in the past and have learnt from them, as opposed to those who follow rules only because someone has told them to. They need people who know the reason behind a decision.
Mention the mistake and be honest about it, but always make sure that you follow it up with what you learnt from that episode and the improvements it has brought to your efficiency.
For example – “In the first week of my appointment, I had miscalculated the estimated time needed to complete a project assigned to me, which resulted in a chain of miscommunications. It taught me that deadlines are to be respected.”
Q.Describe a time when you delegated tasks to team-mates.
Questions about managing teams are not asked only in managerial jobs. Employers want to see managerial skills in their employees. They want people in their team who can motivate others and accomplish a task in a given time-frame. The best way to answer such questions will be to base your answer on capability, experience, task force, etc.
For example – “Based on their individual strengths, I delegated the complex algorithm-writing tasks to Tarun, as he has more experienced than the others. I asked Rohan to handle data check, as he was very accurate in his testing skills. I handled QA, as I had maximum experience in Quality Analysis.”
Q.Describe when you were blamed for somebody else’s mistake.
These types of questions are designed to check your personality and skills at handling stressful situations. The standard rules of interviewing answers apply here too – no bad-mouthing ex-employees or supervisors.
For example – “Once I was blamed for not taking a sufficiently-detailed survey in a locality, which affected our sales figures for that month. Although I was not in the Marketing Analysis team, I took a note of the issue and, without passing blame, politely passed it to the concerned department.